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 -- Some settings taken from LazyVim's default options
24 opt.pumblend = 10 -- Popup blend
25 opt.pumheight = 10 -- Maximum number of entries in a popup
26 opt.showmode = false -- Dont show mode since we have a statusline
27 opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time
28 opt.updatetime = 200 -- Save swap file and trigger CursorHold
29 opt.splitkeep = "screen"
30 opt.shortmess:append({ C = true })
31 opt.foldmethod = "expr"
32 opt.foldexpr = "v:lua.require'rmz.util'.foldexpr()"
34 -- do not let markdown plugin change indent
35 vim.g.markdown_recommended_style = 0