Skip to content

Commit

Permalink
fix(lsp): don't set augmentSyntaxTokens client capability
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jan 7, 2024
1 parent c685e32 commit 73854d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions lua/rustaceanvim/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 73854d5

Please sign in to comment.