1 -- Options are automatically loaded before lazy.nvim startup
5 -- FIXME: There's currently no way to disable LazyVim's default options, so
6 -- reset the ones from vimrc.
7 -- See https://github.com/LazyVim/LazyVim/issues/566
8 -- 1. settings that are overriden in LazyVim options
9 opt.clipboard = "" -- Sync with system clipboard
10 opt.completeopt = "menu,menuone,noselect"
11 opt.formatoptions:append("jcrnqlt") -- see vimrc for details
12 opt.formatoptions:remove("o") -- see vimrc for details
14 opt.relativenumber = false
19 opt.splitbelow = false
24 -- 2. settings I might want to include when disabling options works
25 opt.pumblend = 10 -- Popup blend
26 opt.pumheight = 10 -- Maximum number of entries in a popup
27 opt.showmode = false -- Dont show mode since we have a statusline
28 opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time
29 opt.updatetime = 200 -- Save swap file and trigger CursorHold
30 if vim.fn.has("nvim-0.9.0") == 1 then
31 opt.splitkeep = "screen"
32 opt.shortmess:append({ C = true })
34 -- do not let markdown plugin change indent
35 vim.g.markdown_recommended_style = 0