Semantic token highlighting for variable type declarations #816
Labels
enhancement
New feature or request
textDocument/semanticTokens
Semantic syntax highlighting
workspace/semanticTokens
Milestone
Use-cases
Improve accuracy of highlighting via semantic tokens for type declarations via semantic tokens.
Proposal
Type declarations already seem to be reported by
hcl-lang
asTokenTypeCapsule
andTokenTypePrimitive
.The goal is to choose appropriate LSP token types to translate these into.
terraform-ls/internal/lsp/token_encoder.go
Lines 33 to 57 in 10853c5
The text was updated successfully, but these errors were encountered: