{ plugins.lsp = { enable = true; keymaps = { lspBuf = { "gd" = "definition"; "gD" = "references"; "gt" = "type_definition"; "gi" = "implementation"; "K" = "hover"; "fm" = "format"; "rn" = "rename"; "ca" = "code_action"; }; }; onAttach = '' if client.server_capabilities.inlayHintProvider then vim.lsp.inlay_hint.enable(bufnr, true) end ''; }; }