all repos

init.lua @ 1b8921201226b6229c90f8c087eea978ecb41cc5

my nvim config
1 files changed, 4 insertions(+), 0 deletions(-)
fix(lsp): disable semanticTokensProvider for sumneko_lua
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2023-01-01 17:19:12 +0200
Parent: 78de620
M lua/configs/lsp/attach.lua

@@ -15,6 +15,10 @@ if client.name == "gopls" then

vim.lsp.codelens.refresh() end + if client.name == "sumneko_lua" then + client.server_capabilities.semanticTokensProvider = nil + end + map("K", vim.lsp.buf.hover) map("gd", "<cmd>Telescope lsp_definitions<cr>") map("gD", vim.lsp.buf.declaration)