summaryrefslogtreecommitdiff
path: root/queries
AgeCommit message (Collapse)Author
2021-02-10Add devicetree parser with queries (#900)Jędrzej Boczar
* Add devicetree parser with queries * [docgen] Update README.md skip-checks: true * queries/devicetree: update highlight capture groups * minor fix in CONTRIBUTING.md * Revert "minor fix in CONTRIBUTING.md" This reverts commit 23622b49dbb9eace471e036c0f94fc64b5fda951. * queries/devicetree: add self as maintainer * [docgen] Update README.md skip-checks: true Co-authored-by: Github Actions <actions@github>
2021-02-10Lua: highlight fieldsSantos Gallegos
2021-02-08fix: rust use_list + tuple_expression indentelianiva
2021-02-07Yaml: fix foldsSantos Gallegos
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/887 (block_node) includes more nodes to fold, test with: ```yaml days: Monday: - test: example Tuesday: - test: example Wednesday: - test: example - test: example Thursday: - test: example Friday: - test: example - foo: | One Two Three ```
2021-02-07Query: add regex injectionsSantos Gallegos
2021-02-07Lua: improve scope queriesSantos Gallegos
- Set scope to parent - Group all scopes - Use the . operator
2021-02-07HTML: add folds queriesSantos Gallegos
2021-02-05Python: inject rst in docstrings (#917)Santos Gallegos
Since hasn't been much discussion around https://github.com/nvim-treesitter/nvim-treesitter/issues/806. I'm just porting the injection queries. I've been using this for a while now. Things I've noticed: - Due that rst uses indentation for its syntax, everything is treated as an block quote (but it looks good). This can be solved by having a predicate like `#dedent!`. - Looks like there is a bug in how the injected content is extracted ``` def foo(): """Foo bar""" ``` That would be parsed as a section title for some reason, but it's a paragraph. In rst it would be a title if the content was: ``` """ Foo bar """ ``` If the content is ``` """Foo bar""" ``` That's just a paragraph. I'll try to debug that from the neovim side next week or so.
2021-02-04Update lockfile.json and `amount` query for ledgerCédric Barreteau
`amount_expr` was renamed to `amount` in 52101ac32e890ac224e51cb005182bbe45c0250d.
2021-01-31Add indents queries for ledgerCédric Barreteau
2021-01-31Add ledger parser, folds and highlights queriesCédric Barreteau
2021-01-30folds(teal): remove record_declaration from foldsStephan Seitz
See: https://github.com/euclidianAce/tree-sitter-teal/commit/c647346911eb6c18c64b5cecc4c4ffa3ebccfe0b
2021-01-29highlights(cpp): fix constructor call highlightingStephan Seitz
Address #883
2021-01-27fix(lua): correctly handle do_statement in localsThomas Vigouroux
2021-01-27fix(lua): correctly highlight do_statementThomas Vigouroux
2021-01-26feat(javascript): move shorthand prop to propertySteven Sojka
2021-01-25Highlight ruby symbols as @propertyJeffrey Chupp
Distinguish from @constant. Closes #874
2021-01-22C: add goto to localsSantos Gallegos
2021-01-21fix: added missing enum indent for typescriptelianiva
2021-01-21Ruby highlights: symbol -> simple_symbol, hash_key_symbol, delimited_symbolStephan Seitz
Account for https://github.com/tree-sitter/tree-sitter-ruby/pull/152
2021-01-20Use function keyword highlight group for Rust's fnCédric Barreteau
2021-01-20fix: js indent for object inside argumentselianiva
2021-01-20lua: Add more indent nodesLewis Russell
2021-01-20fix: dedent golang case keywordelianiva
2021-01-15feat: add missing golang indent querieselianiva
2021-01-14feat: added more indent querieselianiva
2021-01-14indent: add Python @ignore queriesJędrzej Boczar
2021-01-14indent: add Python @return queriesJędrzej Boczar
2021-01-12added query enhancementsBrian Shu
added toml added alternation
2021-01-08C++ highlights: Fix destructor highlightingStephan Seitz
Field is not "name"
2021-01-07feat(js): add regex injections (#834)Steven Sojka
2021-01-07Python highlights: update definition of decoratorStephan Seitz
2021-01-07Python locals: Add new node with_clauseStephan Seitz
2021-01-07started branchBrian Shu
2021-01-06fix(c highlights): add missing operatorsThomas Vigouroux
2021-01-06Remove usages of `@embedded` in highlightsStephan Seitz
2021-01-05html highlights: add "<!" to tag.delimitersStephan Seitz
2021-01-05Add turtleBonaBeavis
2021-01-05Update teal syntax for 0.10Corey Williamson
2021-01-04indent fixeskiyan42
2021-01-04Query: add string.escapeSantos Gallegos
Needs https://github.com/nvim-treesitter/tree-sitter-query/pull/5
2021-01-04feat: added more fold querieselianiva
2021-01-04Rust: highlight bracketsSantos Gallegos
2021-01-03Python highlights: Add regex injections: re.match(r"...")Stephan Seitz
2021-01-03Regex highlights: Add constant highlight for class_characterStephan Seitz
2021-01-03Regex highlights: no escape highlighting for escaped special charactersStephan Seitz
2021-01-03Regex highlighting: add "?" operatorStephan Seitz
2021-01-03Julia highlights: Add markdown injection for docstringsStephan Seitz
2021-01-03Add Julia highlights (coauthor: @mroavi)Stephan Seitz
2021-01-02RST: update injection queriesSantos Gallegos
Finally, highlight for code blocks