all repos — dotfiles @ 6b1179415128a15ebcc9fe1816df642fa49479b8

my *nix dotfiles

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