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