fix(clangd): switch source/header is now leader-ch. Fixes #3363

This commit is contained in:
Folke Lemaitre
2024-05-30 07:18:41 +02:00
parent 2a7d163a8a
commit a224ef2a73

View File

@ -62,7 +62,7 @@ return {
-- Ensure mason installs the server
clangd = {
keys = {
{ "<leader>cR", "<cmd>ClangdSwitchSourceHeader<cr>", desc = "Switch Source/Header (C/C++)" },
{ "<leader>ch", "<cmd>ClangdSwitchSourceHeader<cr>", desc = "Switch Source/Header (C/C++)" },
},
root_dir = function(fname)
return require("lspconfig.util").root_pattern(