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