aboutsummaryrefslogtreecommitdiffstats
path: root/queries/zig
Commit message (Collapse)AuthorAgeFilesLines
* feat(spell): support more languagesLewis Russell2022-09-261-2/+2
|
* fix(zig): Do not indent on newline after blockphynalle2022-08-081-0/+2
|
* Split func/method definition from calls in several programming language querieslfenzo2022-08-031-1/+1
|
* zig: work around for hang neovimmaxxnino2021-11-281-10/+8
|
* zig: highlight zig format, type and functionmaxxnino2021-11-231-2/+6
|
* Highlight zig add missing AssignOpmaxxnino2021-10-211-1/+1
|
* Zig queries: highlight, fold and indentmaxxnino2021-09-203-5/+17
| | | | | | | | * fold for if/while/for * highlight "_" for ignore variable * highlight "c" for PtrTypeStart * highlight "?" for optional type * remove duplicate query node in indent
* highlight(zig) highlight all caps is a constantmaxxnino2021-08-241-1/+10
| | | | | * in some context, like translate c macro * which is use all CAPS for define constant
* highlight(zig): rework querymaxxnino2021-08-233-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-08-121-8/+26
| | | | | (#1685) Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
* Update new query and parser for zigmaxxnino2021-08-115-222/+218
|
* highlights(zig): function return type, var decl typemaxxnino2021-08-041-1/+14
|
* highlights(zig): highlight enum,union,error and custom number typemaxxnino2021-08-041-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