aboutsummaryrefslogtreecommitdiffstats
path: root/queries/zig
Commit message (Collapse)AuthorAgeFilesLines
* highlight(zig) highlight all caps is a constantmaxxnino2021-09-171-1/+10
| | | | | * in some context, like translate c macro * which is use all CAPS for define constant
* highlight(zig): rework querymaxxnino2021-09-173-101/+47
| | | | | | * improve query performance 120ms -> 6ms * correct highlight for field, type and function * add highlight for escape/format sequence in string
* highlights(zig): label, switch item, operator, punctuation, field property ↵maxxnino2021-09-171-8/+26
| | | | | (#1685) Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
* Update new query and parser for zigmaxxnino2021-09-175-222/+218
|
* highlights(zig): function return type, var decl typemaxxnino2021-09-171-1/+14
|
* highlights(zig): highlight enum,union,error and custom number typemaxxnino2021-09-171-2/+9
| | | | | | | | * highlight enum field as a constant * highlight cImport and constructor * highlight else_switch enum constant
* highlights(zig): highlight true,falseStephan Seitz2021-07-081-2/+5
|
* highlights(zig): highlight `unreachable`Stephan Seitz2021-07-051-0/+1
|
* feat(keywords) merge return and yield into keyword.return groupantonk522021-07-041-3/+1
|
* feat(keywords) add keyword.return & keyword.yieldantonk522021-07-041-1/+4
|
* highlights(zig): use `@string.escape` for escape sequencesStephan Seitz2021-07-041-1/+1
|
* Update zig highlightsGregory Anders2021-06-101-1/+7
| | | | | | Highlight the built-in `@import` function with the TSInclude highlight group. Also highlight character literals using TSCharacter instead of TSNumber.
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-1/+1
| | | | | | | | | | | | * 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
* improved zig grammar and queriesHimujjal2021-04-021-1/+1
|
* fixed some errorsHimujjal2021-04-025-11/+15
|
* Import highlights.scm from tree-sitter-zigStephan Seitz2021-03-301-10/+19
|
* Added Zig grammarHimujjal2021-03-234-0/+253