summaryrefslogtreecommitdiff
path: root/.config/nvim/lsp
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp')
-rw-r--r--.config/nvim/lsp/clangd.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/nvim/lsp/clangd.lua b/.config/nvim/lsp/clangd.lua
index 6ac336b..a8739cd 100644
--- a/.config/nvim/lsp/clangd.lua
+++ b/.config/nvim/lsp/clangd.lua
@@ -78,7 +78,6 @@ return {
'.git',
},
init_options = {
- usePlaceholders = true,
completeUnimported = true,
clangdFileStatus = true,
},
@@ -99,7 +98,7 @@ return {
symbol_info()
end, { desc = 'Show symbol info' })
- vim.keymap.set('n', '<leader>H', '<cmd>ClangdSwitchSourceHeader<cr>', { desc = '[H]eader and Source Switcher' })
+ vim.keymap.set('n', '<leader>h', '<cmd>ClangdSwitchSourceHeader<cr>', { desc = '[H]eader and Source Switcher' })
vim.keymap.set('n', 'K', '<cmd>lua require("pretty_hover").hover()<cr>', { desc = 'Documentation Hover' })
-- TODO: do I need pretty_hover? maybe that's what causes issues?
end,