summaryrefslogtreecommitdiff
path: root/queries/zig/highlights.scm
AgeCommit message (Collapse)Author
2022-09-26feat(spell): support more languagesLewis Russell
2022-08-03Split func/method definition from calls in several programming language querieslfenzo
2021-11-28zig: work around for hang neovimmaxxnino
2021-11-23zig: highlight zig format, type and functionmaxxnino
2021-10-21Highlight zig add missing AssignOpmaxxnino
2021-09-20Zig queries: highlight, fold and indentmaxxnino
* fold for if/while/for * highlight "_" for ignore variable * highlight "c" for PtrTypeStart * highlight "?" for optional type * remove duplicate query node in indent
2021-08-24highlight(zig) highlight all caps is a constantmaxxnino
* in some context, like translate c macro * which is use all CAPS for define constant
2021-08-23highlight(zig): rework querymaxxnino
* improve query performance 120ms -> 6ms * correct highlight for field, type and function * add highlight for escape/format sequence in string
2021-08-12highlights(zig): label, switch item, operator, punctuation, field property ↵maxxnino
(#1685) Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
2021-08-11Update new query and parser for zigmaxxnino
2021-08-04highlights(zig): function return type, var decl typemaxxnino
2021-08-04highlights(zig): highlight enum,union,error and custom number typemaxxnino
* highlight enum field as a constant * highlight cImport and constructor * highlight else_switch enum constant
2021-07-08highlights(zig): highlight true,falseStephan Seitz
2021-07-05highlights(zig): highlight `unreachable`Stephan Seitz
2021-07-04feat(keywords) merge return and yield into keyword.return groupantonk52
2021-07-04feat(keywords) add keyword.return & keyword.yieldantonk52
2021-07-04highlights(zig): use `@string.escape` for escape sequencesStephan Seitz
2021-06-10Update zig highlightsGregory Anders
Highlight the built-in `@import` function with the TSInclude highlight group. Also highlight character literals using TSCharacter instead of TSNumber.
2021-04-02improved zig grammar and queriesHimujjal
2021-04-02fixed some errorsHimujjal
2021-03-30Import highlights.scm from tree-sitter-zigStephan Seitz
2021-03-23Added Zig grammarHimujjal