Vincent Rischmann
54a29bf99d
feat(zig): improve indents ( #7471 )
2024-12-15 22:29:54 +01:00
Yi Ming
13c7caf8a6
fix(zig): begin indent at struct_declaration
2024-11-15 10:09:16 +01:00
Amaan Qureshi
ba921c9aef
feat!: switch upstream Zig parser
...
The new parser is faster, does not lag while editing, correctly parses
the entire Zig code base, and is much easier to write queries for.
2024-08-30 00:49:33 -04:00
Pham Huy Hoang
57a8acf0c4
chore: query formatting
2024-01-19 16:58:37 +01:00
George Harker
cb568af539
use indent.X syntax for captures and properties of set directives
...
update CONTRIBUTING.md
adjust indents for bass
fix doc capture comment
2023-03-24 13:07:53 -04:00
phynalle
54de8afbed
fix(zig): Do not indent on newline after block
2022-08-08 14:07:30 -07:00
maxxnino
f76737ee33
Zig queries: highlight, fold and indent
...
* fold for if/while/for
* highlight "_" for ignore variable
* highlight "c" for PtrTypeStart
* highlight "?" for optional type
* remove duplicate query node in indent
2021-09-20 11:46:24 +02:00
maxxnino
2f73d7c0a8
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-08-23 08:15:07 +02:00
maxxnino
53160520e2
Update new query and parser for zig
2021-08-11 08:16:16 +02:00
Himujjal
83bfcde7c2
fixed some errors
2021-04-02 03:29:21 +02:00
Himujjal
597ec69378
Added Zig grammar
2021-03-23 12:36:34 +01:00