]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/config/options.lua
nvim: force telescope as lazyvim picker
[dotfiles.git] / nvim / lua / config / options.lua
index 60c4ad333a9190db1ae345a023aee63b5b377f13..d0ef34be4aa3aa18e07738839aea346c980dd608 100644 (file)
@@ -2,6 +2,14 @@
 
 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
@@ -14,3 +22,5 @@ if vim.fn.has("nvim-0.9.0") == 1 then
 end
 -- do not let markdown plugin change indent
 vim.g.markdown_recommended_style = 0
+
+vim.g.lazyvim_picker = "telescope"