aboutsummaryrefslogtreecommitdiff
path: root/modules/neovim/nvim/lua/config/lsp
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-04-10 03:04:54 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-04-10 03:04:54 -0400
commitddf526713d0f82f001d8d59c5af8876d0c1753fe (patch)
treeee30f65401d8d2d6eed3b9a6743b4dcb9ef4ed6e /modules/neovim/nvim/lua/config/lsp
parent8d1e930ce093cf03beef8b03aa32b2c1cde8a432 (diff)
downloadhome-ddf526713d0f82f001d8d59c5af8876d0c1753fe.tar.gz
update
Diffstat (limited to 'modules/neovim/nvim/lua/config/lsp')
-rw-r--r--modules/neovim/nvim/lua/config/lsp/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/neovim/nvim/lua/config/lsp/init.lua b/modules/neovim/nvim/lua/config/lsp/init.lua
index f4092ff..2de2d22 100644
--- a/modules/neovim/nvim/lua/config/lsp/init.lua
+++ b/modules/neovim/nvim/lua/config/lsp/init.lua
@@ -41,6 +41,8 @@ end
vim.api.nvim_create_autocmd("LspAttach", { callback = function(args)
local client = vim.lsp.get_client_by_id(args.data.client_id)
+ client.server_capabilities.semanticTokensProvider = nil
+
vim.keymap.set('n', 'grr', function()
vim.lsp.buf.references()
end, { desc = "Code references (LSP)" })
@@ -67,6 +69,10 @@ vim.api.nvim_create_autocmd("LspAttach", { callback = function(args)
end, { expr = true })
end
+ -- if client:supports_method(methods.textDocument_semanticTokens) then
+ -- end
+
+
vim.keymap.set('n', 'E', '<cmd>lua vim.lsp.buf.hover()<CR>', { silent = true })
-- if client:supports_method(methods.textDocument_inlayHint) then
-- vim.lsp.inlay_hint.enable()