Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

fix: set capability augmentSyntaxTokens to false #390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lua/rust-tools/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ local function setup_capabilities()
-- 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