all repos — dotfiles @ 79368a308f8127d25c8c05703fae39ca89495d98

my *nix dotfiles

nvim/lua/lsp/config.lua (view raw)

 1vim.diagnostic.config({
 2  virtual_text = false,
 3  signs = true,
 4  underline = true,
 5  update_in_insert = true,
 6  severity_sort = false,
 7})
 8
 9-- hover for diagnostic
10vim.opt.updatetime = 250
11vim.cmd [[autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(bor, {focus=false, border='rounded'})]]
12
13vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
14  border = "rounded",
15})