Paul Daniel Faria
d8230acd84
Add punctuation highlighting for highlighting punctuation in doctests, fix highlighting in doctests
2020-06-23 12:11:33 -04:00
Paul Daniel Faria
351bba9bee
Add support for marking doctest items as distinct from normal code, add default tag to all doctest elements
2020-06-23 12:08:04 -04:00
Leander Tentrup
2145e2d878
Syntax highlighting for escape sequences in strings
2020-06-17 15:27:13 +02:00
Laurențiu Nicola
c2358365ad
Add self keyword semantic token type
2020-05-25 12:08:58 +03:00
Matthew Jasper
e2d36cb692
Highlight true
and false
as literals
2020-05-24 15:12:17 +01:00
George Fraser
47ce5ea581
Color attribute functions
2020-05-18 22:55:46 -07:00
Aleksey Kladov
890938a48c
Make it impossible to forget to add a semantic token type / modifier
2020-04-28 17:14:05 +02:00
Leander Tentrup
052e9faa90
Introduce new semantic highlight token for format specifier
2020-04-28 11:13:12 +02:00
Aleksey Kladov
ca61356b01
Add semantic tag for unresolved references
...
This is a quick way to implement unresolved reference diagnostics.
For example, adding to VS Code config
"editor.tokenColorCustomizationsExperimental": {
"unresolvedReference": "#FF0000"
},
will highlight all unresolved refs in red.
2020-04-18 21:28:51 +02:00
Aleksey Kladov
48bc0ca745
Make control token modifier less ambiguous
...
In textmate, keyword.control is used for all kinds of things; in fact,
the default scope mapping for keyword is keyword.control!
So let's add a less ambiguous controlFlow modifier
See Microsoft/vscode#94367
2020-04-06 09:57:50 +02:00
kjeremy
d4c317320d
Simplify SemanticTokensBuilder build method
...
This matches the next stable vscode api
2020-03-30 12:07:27 -04:00
kjeremy
c6f4e8de5e
lsp-types 0.72
2020-03-02 11:52:46 -05:00
Aleksey Kladov
701cf43606
Cleanup highlighting tags
2020-02-28 12:13:37 +01:00
Aleksey Kladov
996e18846d
add more tags
2020-02-28 10:39:31 +01:00
Aleksey Kladov
a8e68ff814
Color constants
2020-02-27 09:32:00 +01:00
Aleksey Kladov
f7db49bfc6
Better highlightign API
2020-02-27 09:32:00 +01:00
Aleksey Kladov
136151515a
Replace generic with a concrete type
2020-02-25 12:43:08 +01:00
Jeremy Kolb
17ffdf9c27
Add docs
2020-02-24 21:17:20 -05:00
kjeremy
9f0cfb7ad2
Teach the server about Semantic Tokens proposed LSP
2020-02-24 20:59:58 -05:00