Commit Graph

3 Commits

Author SHA1 Message Date
Fangrui Song
db74b73d63 Support LSP semantic tokens
This patch implements `textDocument/semanticTokens/{full,range}`. If the
client supports semantic tokens, $ccls/publishSemanticHighlight (now
deprecated) is disabled.

These token modifiers are most useful to emphasize certain symbols:
`static, classScope, globalScope, namespaceScope`.

The user can set the initialization option `highlight.rainbow` to 10 to
enable rainbow semantic tokens.

$ccls/publishSemanticHighlight with highlight.lsRanges==true (used by
vscode-ccls) is no longer supported.
2024-10-20 23:09:29 -07:00
Fangrui Song
103aa711d3 First draft: replace libclang indexer with clangIndex 2019-10-24 00:53:16 -07:00
Daniel Martín
e3a7be1cfe Add project .clang-format 2017-11-19 12:15:14 -05:00