Skip to content

It seems that previewers.builtin.treesitter does not include semantic highlights #1884

Answered by phanen
nyngwang asked this question in Q&A
Discussion options

You must be logged in to vote

"Semantic tokens" are provided by lsp rather than treesitter. There's no lsp attach on the preview buffer(which is actually scratch buffer copy-pasted from original one) so they looks different.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nyngwang
Comment options

Answer selected by nyngwang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants