]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/config/options.lua
nvim: don't quit nvim from dashboard
[dotfiles.git] / nvim / lua / config / options.lua
index 60c4ad333a9190db1ae345a023aee63b5b377f13..cd18d69a3fe0a8ba64e52cde528373caff935a7b 100644 (file)
@@ -2,6 +2,14 @@
 
 local opt = vim.opt
 
 
 local opt = vim.opt
 
+vim.g.man_hardwrap = 1
+vim.env.MANWIDTH = 80
+
+vim.diagnostic.config({ virtual_text = false })
+
+-- TODO: also try noinsert
+opt.completeopt = "menu,menuone,noselect"
+
 -- Some settings taken from LazyVim's default options
 opt.pumblend = 10 -- Popup blend
 opt.pumheight = 10 -- Maximum number of entries in a popup
 -- Some settings taken from LazyVim's default options
 opt.pumblend = 10 -- Popup blend
 opt.pumheight = 10 -- Maximum number of entries in a popup
@@ -14,3 +22,7 @@ if vim.fn.has("nvim-0.9.0") == 1 then
 end
 -- do not let markdown plugin change indent
 vim.g.markdown_recommended_style = 0
 end
 -- do not let markdown plugin change indent
 vim.g.markdown_recommended_style = 0
+
+vim.g.lazyvim_picker = "telescope"
+
+vim.g.snacks_animate = false