Update; nvim config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user