feat(clangd): disable auto installation and add new keymap
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
|
---@type ServerConfig
|
||||||
return {
|
return {
|
||||||
enable = true,
|
enable = true,
|
||||||
mason = {
|
keymaps = {
|
||||||
name = "clangd",
|
{
|
||||||
-- version = "",
|
mode = "n",
|
||||||
|
lhs = "gs",
|
||||||
|
rhs = vim.cmd.ClangdSwitchSourceHeader,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
lspconfig = {
|
lspconfig = {
|
||||||
filetypes = {
|
filetypes = {
|
||||||
|
|||||||
Reference in New Issue
Block a user