1 -- Options are automatically loaded before lazy.nvim startup
15 vim.g.man_hardwrap = 1
18 vim.diagnostic.config({ virtual_text = false })
20 -- TODO: also try noinsert
21 opt.completeopt = "menu,menuone,noselect"
23 -- TODO: review clipboard providers
24 -- :help provider-clipboard
26 -- Some settings taken from LazyVim's default options
27 opt.pumblend = 10 -- Popup blend
28 opt.pumheight = 10 -- Maximum number of entries in a popup
29 opt.showmode = false -- Dont show mode since we have a statusline
30 opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time
31 opt.updatetime = 200 -- Save swap file and trigger CursorHold
32 opt.splitkeep = "screen"
33 opt.shortmess:append({ C = true })
34 opt.foldmethod = "expr"
35 opt.foldexpr = "v:lua.require'rmz.util'.foldexpr()"
37 -- do not let markdown plugin change indent
38 vim.g.markdown_recommended_style = 0