summaryrefslogtreecommitdiff
path: root/.config/nvim/lsp
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2025-08-27 00:54:27 +0300
committerKyren223 <contact@kyren.codes>2025-08-27 00:54:27 +0300
commit43836771b1a09fcab6306c0d06fbfaa6f53d1a43 (patch)
tree2ace670280ecb2334a078da8477655594a1dc67f /.config/nvim/lsp
parent142063cff5f54c9e923d076d3683e8285c7acd8a (diff)
Changed running tests from alt+t to <leader>t to prepare for hyprland
Diffstat (limited to '.config/nvim/lsp')
-rw-r--r--.config/nvim/lsp/clangd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lsp/clangd.lua b/.config/nvim/lsp/clangd.lua
index 51de66a..6cf4dc6 100644
--- a/.config/nvim/lsp/clangd.lua
+++ b/.config/nvim/lsp/clangd.lua
@@ -156,7 +156,7 @@ return {
end, { desc = 'Show symbol info' })
vim.keymap.set('n', '<A-m>', compile_project('clear && ./build.sh krypton\n'), { desc = '[H]eader and Source Switcher' })
- vim.keymap.set('n', '<A-t>', compile_project('clear && ./build.sh test\n'), { desc = '[H]eader and Source Switcher' })
+ vim.keymap.set('n', '<leader>t', compile_project('clear && ./build.sh test\n'), { 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?