]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/config/options.lua
nvim/options: disable default LazyVim options
[dotfiles.git] / nvim / lua / config / options.lua
index 3ea1454fa3580ee1ca5e9e9e03b87e5269aed64b..60c4ad333a9190db1ae345a023aee63b5b377f13 100644 (file)
@@ -1,3 +1,16 @@
 -- Options are automatically loaded before lazy.nvim startup
--- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
--- Add any additional options here
+
+local opt = vim.opt
+
+-- Some settings taken from LazyVim's default options
+opt.pumblend = 10 -- Popup blend
+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
+-- do not let markdown plugin change indent
+vim.g.markdown_recommended_style = 0