]> git.rmz.io Git - dotfiles.git/commitdiff
lazyvim: update options
authorSamir Benmendil <me@rmz.io>
Sun, 23 Feb 2025 14:20:22 +0000 (14:20 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 2 Mar 2025 16:05:28 +0000 (16:05 +0000)
Options were disable already, they are mostly defined in my vimrc
still... I should probably port my config now that I have committed to
NeoVim.

nvim/lua/config/options.lua

index 81ff29e02db9ba47808933b49911f9d83ea4fa93..aeaca61d63544aa9a3cd28b6bc604a4d647ec73a 100644 (file)
@@ -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()"