all repos — dotfiles @ 77c626816fe07cd99cd5b0c4c0448ea234cebc0c

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})