From b36cad9c7b5cbe2b5b0d64ce131862c1373a469e Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Tue, 16 May 2023 02:25:48 +0200 Subject: [PATCH] turn off lsp coloring/highlight --- lua/lang.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/lang.lua b/lua/lang.lua index 4f81039..acdf3c9 100644 --- a/lua/lang.lua +++ b/lua/lang.lua @@ -44,6 +44,8 @@ local on_attach = function(client, bufnr) "lua vim.lsp.buf.range_formatting()", opts) end + client.server_capabilities.semanticTokensProvider = nil + -- Set autocommands conditional on server_capabilities if client.server_capabilities.document_highlight then vim.api.nvim_exec([[