diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-04-12 19:51:13 +0200 |
---|---|---|
committer | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-04-12 19:52:04 +0200 |
commit | f27c5bf0452d37b9fb9580a4aacac4d5fa2d8f27 (patch) | |
tree | dde59339e165e24d5f9fa73555259cd79a4ee461 /Common | |
parent | 6f681b7db901d8377e26653ad6f0960f059c9a32 (diff) | |
download | dotfiles-f27c5bf0452d37b9fb9580a4aacac4d5fa2d8f27.tar.gz dotfiles-f27c5bf0452d37b9fb9580a4aacac4d5fa2d8f27.zip |
lsp things
Diffstat (limited to 'Common')
-rw-r--r-- | Common/nvim/lua/lsp-conf.lua | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Common/nvim/lua/lsp-conf.lua b/Common/nvim/lua/lsp-conf.lua index fde33b3..bedac5a 100644 --- a/Common/nvim/lua/lsp-conf.lua +++ b/Common/nvim/lua/lsp-conf.lua @@ -40,16 +40,18 @@ vim.diagnostic.config({ virtual_text = false, signs = true, update_in_insert = true, - underline = false, + underline = true, severity_sort = false, - float = { - border = 'rounded', - source = 'always', - header = '', - prefix = '', - }, }) +vim.cmd [[ +hi DiagnosticUnderlineError gui=none guibg='LightRed' +hi DiagnosticUnderlineWarn guisp='Orange' gui=undercurl +hi DiagnosticUnderlineInfo guisp='Cyan' gui=undercurl +hi DiagnosticUnderlineHint guisp='Cyan' gui=undercurl +hi DiagnosticUnderlineOk gui=none +]] + vim.opt.completeopt = {'menuone', 'noselect', 'noinsert'} vim.opt.shortmess = vim.opt.shortmess + { c = true} vim.api.nvim_set_option('updatetime', 300) |