summaryrefslogtreecommitdiff
path: root/.config/nvim/lsp
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp')
-rw-r--r--.config/nvim/lsp/asm_lsp.lua1
-rw-r--r--.config/nvim/lsp/clangd.lua3
-rw-r--r--.config/nvim/lsp/zls.lua1
3 files changed, 1 insertions, 4 deletions
diff --git a/.config/nvim/lsp/asm_lsp.lua b/.config/nvim/lsp/asm_lsp.lua
index caddea0..84c633f 100644
--- a/.config/nvim/lsp/asm_lsp.lua
+++ b/.config/nvim/lsp/asm_lsp.lua
@@ -1,7 +1,6 @@
-- https://github.com/bergercookie/asm-lsp
return {
- mason = false,
cmd = { 'asm-lsp' },
filetypes = { 'asm', 'vmasm' },
root_markers = { '.asm-lsp.toml', '.git' },
diff --git a/.config/nvim/lsp/clangd.lua b/.config/nvim/lsp/clangd.lua
index 01ae2e1..dc5519d 100644
--- a/.config/nvim/lsp/clangd.lua
+++ b/.config/nvim/lsp/clangd.lua
@@ -58,7 +58,6 @@ local function symbol_info()
end
return {
- mason = false,
cmd = {
'clangd',
'--background-index',
@@ -100,7 +99,7 @@ return {
symbol_info()
end, { desc = 'Show symbol info' })
- vim.keymap.set('n', '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,
diff --git a/.config/nvim/lsp/zls.lua b/.config/nvim/lsp/zls.lua
index 32120d3..94e2d26 100644
--- a/.config/nvim/lsp/zls.lua
+++ b/.config/nvim/lsp/zls.lua
@@ -1,7 +1,6 @@
-- https://github.com/zigtools/zls
return {
- mason = false,
cmd = { 'zls' },
filetypes = { 'zig', 'zir' },
root_markers = { 'zls.json', 'build.zig', '.git' },