Sebastian Neubauer
5b1a628e81
Add textobjects and indents to c and cpp ( #1293 )
...
Indentation of single line statements doesn't work, i.e.
for (;;)<hit enter>
leads to
for(;;)
<cursor here>
Only blocks with curly braces are indented.
3 years ago
Sebastian Neubauer
23091c9d29
Highlight comments in c, cpp, cmake and llvm ( #1309 )
...
Also, reuse the c injections in glsl
3 years ago
Kirawi
ee889aaa85
Updated tree-sitter query scopes ( #896 )
...
* updated theme scopes
variable.property -> variable.field
property -> variable.field
* updated theme scopes
* update book and themes
updated book and themes to reflect scope changes
* wip
* update more queries
* update dark_plus.toml
3 years ago
Blaž Hrastnik
9b9c3c77f8
runtime: Query improvements
3 years ago
Kirawi
c7aa7bf4ba
VSCode Dark+ Theme ( #414 )
...
* wip
* Add VSCode Dark+ Theme
wip
wip
wip
wip
wip
wip
properly detect constants
add bool
wip
* suggestion
* add variant for c/c++
* fix hexcode error
* removed regex highlight
* fixed constant higlighting
* wip
* add space
* add suggestions
* update theme
* update book
* suggestions
* fix c/c++ enum
* update book
3 years ago
Blaž Hrastnik
77db3599ba
Fix C highlighting inconsistencies.
4 years ago
Blaž Hrastnik
71c06c11cb
Import tree sitter queries.
4 years ago