Add a semantic token type for char literals

The LSP spec doesn't recognise character literals, so
had to extend the suported types to our own custom type
This commit is contained in:
petr-tik
2021-02-05 23:46:39 +00:00
parent 582a202d6e
commit f4e3eceb6f
2 changed files with 3 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ define_semantic_token_types![
(BRACE, "brace"),
(BRACKET, "bracket"),
(BUILTIN_TYPE, "builtinType"),
(CHAR_LITERAL, "characterLiteral"),
(COMMA, "comma"),
(COLON, "colon"),
(DOT, "dot"),