]> git.rmz.io Git - dotfiles.git/blob - nvim/lua/config/options.lua
nvim: add orgmode plugin
[dotfiles.git] / nvim / lua / config / options.lua
1 -- Options are automatically loaded before lazy.nvim startup
2
3 local opt = vim.opt
4
5 vim.g.man_hardwrap = 1
6 vim.env.MANWIDTH = 80
7
8 -- Some settings taken from LazyVim's default options
9 opt.pumblend = 10 -- Popup blend
10 opt.pumheight = 10 -- Maximum number of entries in a popup
11 opt.showmode = false -- Dont show mode since we have a statusline
12 opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time
13 opt.updatetime = 200 -- Save swap file and trigger CursorHold
14 if vim.fn.has("nvim-0.9.0") == 1 then
15 opt.splitkeep = "screen"
16 opt.shortmess:append({ C = true })
17 end
18 -- do not let markdown plugin change indent
19 vim.g.markdown_recommended_style = 0