all repos — dotfiles @ 60918b45c88d056c700b7f8d95ec5a58518c3b3c

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