summaryrefslogtreecommitdiff
path: root/queries
AgeCommit message (Collapse)Author
2022-11-16Merge branch 'nvim-treesitter:master' into masterHEADmastermvink
2022-11-16feat: add awkObserverOfTime
2022-11-16rego: update parser and queries (#3805)FallenAngel97
Co-authored-by: Oleksii Demennikov <odemennikov@lohika.com>
2022-11-13feat: vhs (.tape) support (#3726)Carlos Alexandro Becker
2022-11-12julia: update queries to parser changeChristian Clason
2022-11-06rust: use @type.qualifier and @storageclassTrard
2022-11-06highlights(rust): pub(self/super/crate), use super::thing, etcCormac Relf
2022-11-06highlights(rust): ["<" ">"] @punctuation.bracket in bracketed_type, ↵Cormac Relf
for_lifetimes
2022-11-06highlights(rust): "for" @keyword everywhere else (for<'a>, HRTBs)Cormac Relf
2022-11-06highlights(rust): highlight Type in Type::Associated as @type instead of ↵Cormac Relf
@namespace
2022-11-06highlights(rust): panic!() and assert!() as @exceptionCormac Relf
2022-11-06fix: update scheme queries to parser changeChristian Clason
2022-11-06fix: update julia queries to parser changeChristian Clason
2022-11-05feat(ql): add folding queriesAlvaro Muñoz
2022-11-05fix(rust): update queries to breaking changesChristian Clason
* `if_let_expression` was removed in https://github.com/tree-sitter/tree-sitter-rust/pull/152 * `attributes` were reworked in https://github.com/tree-sitter/tree-sitter-rust/pull/163 (no more `meta-item`)
2022-11-02refactor julia localsSergio Alejandro Vargas
2022-11-02refactor(highlights/julia): Update definitionsSergio Alejandro Vargas
See https://github.com/tree-sitter/tree-sitter-julia/pull/54 Remove a bunch of patterns with `argument_list`. No longer necessary with `short_function_definition`. Other minor changes including: - Add boolean literals See https://github.com/tree-sitter/tree-sitter-julia/pull/44 - Update highlights for operators (for bindings, type operators, etc) - Update lockfile
2022-11-01lua: update queriesChristian Clason
2022-11-01help: update queriesChristian Clason
2022-10-30fix(python): remove except*Mike Vink
query that only works in python3.11 parser
2022-10-30feat: conceal backslash escapeFolke Lemaitre
2022-10-29feat: markdown table highlights and inlineFolke Lemaitre
2022-10-28Add regex injections for php (#3592)gbprod
2022-10-28feat(git_rebase): add git_rebase parsergbprod
2022-10-25fix(ocaml): change query order for VariablesRobin Björklin
By moving the Variables query higher it gives the @variable capture group a lower precedence when highlighting. This makes it possible to distinguish between @function and @variable.
2022-10-25highlights(python): add "except*"Stephan Seitz
Added in https://github.com/tree-sitter/tree-sitter-python/pull/176 About the feature https://realpython.com/python311-exception-groups/#exception-groups-and-except-in-python-311
2022-10-24Update ecma injections to support recent additions to ↵NullVoxPopuli
tree-sitter-javascript/typescript
2022-10-23fix(bash): Rename ansii_c_string to ansi_c_string. (#3702)ギャラ
2022-10-20nickel: use @booleanJosé Luis Lafuente
2022-10-19parsers: add nickel parser (#3506)José Luis Lafuente
* parsers: add nickel parser * Update lua/nvim-treesitter/parsers.lua Co-authored-by: Christian Clason <christian.clason@uni-due.de> * Update queries/nickel/highlights.scm Co-authored-by: Christian Clason <christian.clason@uni-due.de> * fix queries * Cleanup (based on @theHamsta review) Co-authored-by: Christian Clason <christian.clason@uni-due.de>
2022-10-19feat(diff): add diff parsergbprod
This commit introduce diff parser.
2022-10-17highlights(ecma): add pair_pattern punctuation.delimiterMunif Tanjim
2022-10-17locals(lua): fix directive not applyingbeardedsakimonkey
fixes #3280
2022-10-16folds(yaml): Fold at the entire node, not at the body.Jongwook Choi
2022-10-15highlights: use @preproc where appropriateObserverOfTime
2022-10-15test(gitattributes): add tests for highlightsObserverOfTime
2022-10-15highlights(c): highlight standard streamsObserverOfTime
2022-10-15highlights(rst): disable spell for code blocksObserverOfTime
injections(rst): add sourcecode directive
2022-10-15highlights(dockerfile): add several highlightsObserverOfTime
2022-10-15highlights(bash): add all signal namesObserverOfTime
2022-10-15highlights(kotlin): add companion keywordObserverOfTime
2022-10-15highlights(scss): add function statementObserverOfTime
2022-10-15highlights(typescript): add override keywordObserverOfTime
2022-10-15highlights(vim): add some more keywordsObserverOfTime
2022-10-15highlights(r): add spellMaximilian Muecke
2022-10-15highlights(rust): distinguish between "for" in loops and impl_itemStephan Seitz
Fixes #3641
2022-10-15feat(viml): update queriesChristian Clason
2022-10-12feat(php): add queries for bash injectionsgbprod
This commit allows to inject bash syntax into relevant function arguments and shell expression.
2022-10-12feat(php): improve php foldsgbprod
2022-10-12fix(julia): remove highlight query for constantsFredrik Ekre
This patch removes the highlight query for constant identifiers based on capitalization. This led to inconsistent highlighting since e.g. `AA` would be a regular identifier, but `AAA` a constant. It is indeed true that some constants are uppercase only identifiers, but there are also constants which doesn't follow this pattern. Since there are no rules about this it seems better to not try to guess.