X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/9d8f4bf3dcc34ae97a8e2588f49117e5612dee2c..ff7f09c95e3c6d3b9d13e67cbbc13a4e7a70c661:/nvim/lua/config/options.lua diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index 81ff29e..aeaca61 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -2,6 +2,16 @@ local opt = vim.opt +opt.fillchars = { + foldopen = "", + foldclose = "", + fold = " ", + foldsep = " ", + eob = " ", + diff = "⣿", + vert = "│", +} + vim.g.man_hardwrap = 1 vim.env.MANWIDTH = 80 @@ -16,10 +26,8 @@ opt.pumheight = 10 -- Maximum number of entries in a popup opt.showmode = false -- Dont show mode since we have a statusline opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time opt.updatetime = 200 -- Save swap file and trigger CursorHold -if vim.fn.has("nvim-0.9.0") == 1 then - opt.splitkeep = "screen" - opt.shortmess:append({ C = true }) -end +opt.splitkeep = "screen" +opt.shortmess:append({ C = true }) opt.foldmethod = "expr" opt.foldexpr = "v:lua.require'rmz.util'.foldexpr()"