maxxnino
2dd36fa585
highlights(zig): label, switch item, operator, punctuation, field property ( #1685 )
...
Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
2021-08-12 23:36:01 -05:00
maxxnino
53160520e2
Update new query and parser for zig
2021-08-11 08:16:16 +02:00
maxxnino
d5116feefd
highlights(zig): function return type, var decl type
2021-08-04 11:07:59 +02:00
maxxnino
cb5059e68f
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-08-04 11:07:59 +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
Santos Gallegos
67f0857015
Revert "Comment: use @combined to create just one tree per buffer ( #1252 )"
...
This reverts commit 4a7a713c52 .
2021-05-07 16:51:57 +02:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer ( #1252 )
...
* Comment: use `@combined` to create just one tree per buffer
There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251
* Add injections for scss
* Fix jsonc
* Combine jsdoc
2021-04-28 07:19:07 -05: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