update and optimize nvim

This commit is contained in:
Tibeuleu
2026-06-09 17:13:34 +02:00
parent d0ee76ef6c
commit 1bf3a84fd0
6 changed files with 137 additions and 124 deletions

View File

@@ -106,8 +106,8 @@ local servers = {
-- Default handlers for LSP
local default_handlers = {
["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { border = "rounded" }),
["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { border = "rounded", focus = false }),
["textDocument/hover"] = vim.lsp.buf.hover({ border = "rounded" }),
["textDocument/signatureHelp"] = vim.lsp.buf.signature_help({ border = "rounded", focus = false }),
}
-- nvim-cmp supports additional completion capabilities