From 73854d5e720d4ea135e7508d9d24fb82b4ec8223 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Sun, 7 Jan 2024 16:22:19 +0100 Subject: [PATCH] fix(lsp): don't set `augmentSyntaxTokens` client capability --- CHANGELOG.md | 7 +++++++ lua/rustaceanvim/lsp.lua | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fb1bcdb..61030ed5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.12.2] - 2024-01-07 + +### Fixed + +- LSP: Don't set `augmentsSyntaxTokens` capability. + This appears to cause problems for some colorschemes. + ## [3.12.1] - 2024-01-06 ### Fixed diff --git a/lua/rustaceanvim/lsp.lua b/lua/rustaceanvim/lsp.lua index b857e91d..3e65c30e 100644 --- a/lua/rustaceanvim/lsp.lua +++ b/lua/rustaceanvim/lsp.lua @@ -141,9 +141,6 @@ M.start = function() -- snippets capabilities.textDocument.completion.completionItem.snippetSupport = true - -- output highlights for all semantic tokens - capabilities.textDocument.semanticTokens.augmentsSyntaxTokens = false - -- send actions with hover request capabilities.experimental = { hoverActions = true,