summaryrefslogtreecommitdiff
path: root/queries
AgeCommit message (Collapse)Author
2022-06-19Help: update highlightsSantos Gallegos
- A hotlink on vimdoc is `|foo|`. Which is a reference to part of a document, not a URI. - (argument) wasn't being highlighted, wasn't sure about the best hl group for this, but `@parameter` seems the obvious one?
2022-06-19rnoweb: Use new inline/chunk distinctionBrian Albert Monroe
2022-06-19rnoweb: Add folding queries for renvBrian Albert Monroe
2022-06-19Make rnoweb injects combinedBrian Albert Monroe
This helps with breaking apart latex environments
2022-06-19Add rnoweb queriesBrian Albert Monroe
2022-06-19feat(swift): update parser and queries to 0.3.0 (#3035)Christian Clason
also port upstream query changes
2022-06-14fix(indents/yaml): only indent mapping pair if value is a blockPhelipe Teles
This improves the following situation, in which '|' is the cursor position: ```yaml - key1: value1 key2: value2| ``` Before this commit, by pressing Enter would result in this indentation: ```yaml - key1: value1 key2: value2 | ``` Which is less convenient than this: ```yaml - key1: value1 key2: value2 | ```
2022-06-14fix(indents/yaml): improve error handlingPhelipe Teles
This helps to solve the first issue reported at #1377. The problem is that the line loses its indentation when we start inserting a new mapping pair (specifically, when we enter the character ":"). The issue seems to be solved by auto indenting ERROR nodes.
2022-06-14fix(indents/yaml): indent sequence/list itemsPhelipe Teles
This solves the second issue reported at #1377, in which the cursor would not be aligned with the line "key2: value2" when entering a new line below it. ```yaml - key1: value1 key2: value2 ```
2022-06-14fix: keep cls variable highlighting consistent in class methodsRyan Barth
2022-06-14fix(tiger): remove duplicate keywordsBruno BELANYI
2022-06-14fix(tiger): adjust invalid queriesBruno BELANYI
2022-06-14feat(tiger): initial supportBruno BELANYI
2022-06-07vim: add basic folding for if statements and functions (#2994)Seth Barberee
2022-06-05injections(ecma): add injection for commented graphql template strings (#2987)Jackson Ludwig
2022-06-04highlights(php): highlight readonly keywordshirasaka
2022-06-01feat(highlights/julia): make operators visibleSergio Alejandro Vargas
See tree-sitter/tree-sitter-julia#34
2022-05-29highlights(c): highlight field_designator as `@property`Stephan Seitz
2022-05-24fix(nix): update parser and queriesMinijackson
2022-05-21highlights(vlang): add `attribute_declaration` and specialize some keywordsStephan Seitz
2022-05-21feat: highlight string_interpolation identifierstami5
functions call work without issues
2022-05-21chore: add more builtin variablestami5
2022-05-21chore: add $else keywordtami5
2022-05-21chore(vlang): rename set! > #set!tami5
2022-05-21parser(vlang): fix location of remote repoStephan Seitz
2022-05-21feat(vlang): initial supporttami5
Add support for vlang filetypes. - [ ] Highlight `C` as builtin variable. This is FFI in vlang land, where C act like extern and access c functions. The vlang parser does some extension between C function calls and arguments but I believe highlighting C as builtin variable is sufficient indicator for now. I tried to use offset! but failed. Any suggestions? - [ ] Set up parser url. the vlang parser is located within [vls] repo. Is installing from nested repo supported? `tree_sitter_v/src/parser.c`? [vls]: https://github.com/vlang/vls/tree/master/tree_sitter_v cc @elianiva @theHamsta
2022-05-21highlights(latex): only highlight command name, not whole commandStephan Seitz
2022-05-21highlights(slint): highlight operators and more punctuationStephan Seitz
2022-05-15python(folds): fold whole functions not only bodyStephan Seitz
2022-05-15indents(php): @auto on comment and ERRORprzepompownia
Currently with ```vim setlocal autoindent setlocal smartindent ``` in `after/indent/php.vim` it allows correct indentation inside PHP docblocks.
2022-05-15highlights(cuda): add __grid_constant__Stephan Seitz
2022-05-14Use @definition.function for method & func definitionsWilliam Mathewson
2022-05-14Add method to definitions in ECMA localsWilliam Mathewson
In Telescope, function declarations were being exposed in the selector, but not method definitions which are also a form of function declaration.
2022-05-14highlights(scheme): some fix (#2932)6cdh
* Add block comment * Add λ highlight
2022-05-13Python: highlight future import (#2936)Santos Gallegos
* Python: highlight future import * Use constant.builtin
2022-05-13highlights(php): improve highlight for attributesnsfisis
2022-05-07highlights(cpp): make "::" `@punctuation.delimiter`Stephan Seitz
Fixes #2902
2022-05-06highlights(ocaml): highlight units as suchPau Ruiz Safont
Units were shadowed by the punctuation highlights in all situations. Restrict the context where parentheses are highlighted as punctuation so () can be highlighted as constants. Signed-off-by: Pau Ruiz Safont <unduthegun@gmail.com>
2022-05-05Add embedded template to support ERB filesNick Pezza
2022-05-01feat(vim): add support for constThomas Vigouroux
2022-05-01Python: highlight raise from statementSantos Gallegos
2022-04-28feat(proto): add parserfrancisco souza
Related to #2307.
2022-04-27Add additional m68k queriesGraham Bates
2022-04-27Use correct type for labelsGraham Bates
2022-04-27Remove query for interpolated macro argGraham Bates
No `embedded` mapping available in nvim-treesitter. The previous query to `variable.builtin` will work fine in this context too.
2022-04-27feat: add m68k parser and queriesGraham Bates
2022-04-25indent(hcl): fix function callsMichael Hoffmann
2022-04-24indents(hcl): fix indentation queriesMichael Hoffmann
This commit adds tests for hcl indentation and fixes various bugs
2022-04-23Fix YANG indentation for extension statementsTomas Sandven
2022-04-23Add aligned indents for multi-line stringsTomas Sandven