Update; nvim config

This commit is contained in:
Martin Pander
2026-06-09 16:07:30 +02:00
parent 186752a734
commit 4343c4b7ee
8 changed files with 229 additions and 289 deletions

View File

@@ -102,7 +102,6 @@ vim.opt.clipboard = 'unnamedplus'
----------------------------
vim.cmd('filetype plugin indent on')
vim.cmd.colorscheme "catppuccin-latte"
----------------------------
@@ -191,6 +190,7 @@ vim.diagnostic.config({
},
},
virtual_lines = false,
-- float = false,
float = {
prefix = '',
scope = 'line',
@@ -206,3 +206,11 @@ vim.cmd([[highlight DiagnosticUnderlineWarn gui=undercurl guifg=Yellow]])
vim.cmd([[highlight DiagnosticUnderlineInfo gui=undercurl guifg=Blue]])
vim.cmd([[highlight DiagnosticUnderlineHint gui=undercurl guifg=Cyan]])
local orig_util_open_floating_preview = vim.lsp.util.open_floating_preview
function vim.lsp.util.open_floating_preview(contents, syntax, opts, ...)
opts = opts or {}
opts.border = opts.border or "rounded"
return orig_util_open_floating_preview(contents, syntax, opts, ...)
end