feat(clangd): disable auto installation and add new keymap

This commit is contained in:
2024-09-09 04:08:23 +02:00
parent bb99923be4
commit c199909c25
+7 -3
View File
@@ -1,8 +1,12 @@
---@type ServerConfig
return {
enable = true,
mason = {
name = "clangd",
-- version = "",
keymaps = {
{
mode = "n",
lhs = "gs",
rhs = vim.cmd.ClangdSwitchSourceHeader,
},
},
lspconfig = {
filetypes = {