maxxnino
|
70987d8f84
|
highlight(zig) highlight all caps is a constant
* in some context, like translate c macro
* which is use all CAPS for define constant
|
2021-09-17 21:06:36 +02:00 |
|
maxxnino
|
b52cccf899
|
highlight(zig): rework query
* improve query performance 120ms -> 6ms
* correct highlight for field, type and function
* add highlight for escape/format sequence in string
|
2021-09-17 21:06:36 +02:00 |
|
maxxnino
|
aa5ee99cf1
|
highlights(zig): label, switch item, operator, punctuation, field property (#1685)
Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
|
2021-09-17 21:06:36 +02:00 |
|
maxxnino
|
9b265c9c4c
|
Update new query and parser for zig
|
2021-09-17 21:06:36 +02:00 |
|
maxxnino
|
b20a072cc0
|
highlights(zig): function return type, var decl type
|
2021-09-17 21:06:36 +02:00 |
|
maxxnino
|
357a91375d
|
highlights(zig): highlight enum,union,error and custom number type
* highlight enum field as a constant
* highlight cImport and constructor
* highlight else_switch
enum constant
|
2021-09-17 21:06:36 +02:00 |
|
Stephan Seitz
|
6d18b93ce7
|
highlights(zig): highlight true,false
|
2021-07-08 23:37:00 +02:00 |
|
Stephan Seitz
|
70f739c337
|
highlights(zig): highlight unreachable
|
2021-07-05 12:37:21 +02:00 |
|
antonk52
|
90f15d9bf7
|
feat(keywords) merge return and yield into keyword.return group
|
2021-07-04 21:49:17 +02:00 |
|
antonk52
|
bd9095e969
|
feat(keywords) add keyword.return & keyword.yield
|
2021-07-04 21:49:17 +02:00 |
|
Stephan Seitz
|
45cb7ef290
|
highlights(zig): use @string.escape for escape sequences
|
2021-07-04 21:17:48 +02:00 |
|
Gregory Anders
|
a7dac748ba
|
Update zig highlights
Highlight the built-in `@import` function with the TSInclude highlight
group. Also highlight character literals using TSCharacter instead of
TSNumber.
|
2021-06-10 07:37:34 +02:00 |
|
Himujjal
|
0b2ec9d266
|
improved zig grammar and queries
|
2021-04-02 03:29:21 +02:00 |
|
Himujjal
|
83bfcde7c2
|
fixed some errors
|
2021-04-02 03:29:21 +02:00 |
|
Stephan Seitz
|
4821bde80a
|
Import highlights.scm from tree-sitter-zig
|
2021-03-30 22:27:50 +02:00 |
|
Himujjal
|
597ec69378
|
Added Zig grammar
|
2021-03-23 12:36:34 +01:00 |
|