summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-10-23 21:39:34 +0200
committerAotrix <[email protected]>2025-10-23 21:39:34 +0200
commita328b558f62f2400bf1d60d663bb644a9016b463 (patch)
treedbbe71665113faecf241e8bf8bb7a155064ae0ac
parent30ce31d4833479ecd7d3d1d34f2335f3ffe37538 (diff)
fixed command used to switch between source and header file
-rw-r--r--lua/aotrix/plugins/lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/aotrix/plugins/lsp.lua b/lua/aotrix/plugins/lsp.lua
index 1841fc6..c55aa0b 100644
--- a/lua/aotrix/plugins/lsp.lua
+++ b/lua/aotrix/plugins/lsp.lua
@@ -42,7 +42,7 @@ return {
}
}
- vim.keymap.set("n", "<leader>o", "<cmd>ClangdSwitchSourceHeader<cr>")
+ vim.keymap.set("n", "<leader>o", "<cmd>LspClangdSwitchSourceHeader<cr>")
vim.lsp.config["cmake"] = {}
vim.lsp.config["lua_ls"] = {