summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-11Use eq?Santos Gallegos
2021-02-11HTML: improve highlights & injectionsSantos Gallegos
2021-02-11[docgen] Update README.mdGithub Actions
skip-checks: true
2021-02-11Query: add foldsSantos Gallegos
2021-02-10C/CPP: add injections for macrosSantos Gallegos
2021-02-10YAML: add localsSantos Gallegos
This is so incremental selection works
2021-02-10CleanupMads Kjeldgaard
2021-02-10CleanupMads Kjeldgaard
2021-02-10Update queries/supercollider/locals.scmmads kjeldgaard
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
2021-02-10Update queries/supercollider/highlights.scmmads kjeldgaard
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
2021-02-10KeywordMads Kjeldgaard
2021-02-10remove @escapeMads Kjeldgaard
2021-02-10Remove second addition of supercolliderMads Kjeldgaard
2021-02-10Add supercollider supportMads Kjeldgaard
2021-02-10Add supercollider parser to list of parsersMads Kjeldgaard
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-07Update lockfile.jsonGitHub
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-05Update lockfile.jsonGitHub
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-02-04fixed #630yzia2000
2021-02-04Query: set commenstringSantos Gallegos
2021-02-01Update documentation for `Enable/Disable` commands.echasnovski
2021-02-01Implement `TSToggleAll`.echasnovski
2021-02-01Implement `TSBufToggle`.echasnovski
2021-02-01Update lockfile.jsonGitHub
2021-02-01[docgen] Update README.mdGithub Actions
skip-checks: true
2021-02-01parsers: change repo link of Elm parser to the new official repoStephan Seitz
Follow https://github.com/tree-sitter/tree-sitter/pull/907 and change the link of the Elm parser to the elm-tooling namespace.
2021-01-31Issue template: use details for nvim --version outputSantos Gallegos
2021-01-31Add indents queries for ledgerCédric Barreteau
2021-01-31Update lockfile.jsonGitHub
2021-01-31Add ledger parser, folds and highlights queriesCédric Barreteau
2021-01-30Update lockfile.jsonGitHub
2021-01-30folds(teal): remove record_declaration from foldsStephan Seitz
See: https://github.com/euclidianAce/tree-sitter-teal/commit/c647346911eb6c18c64b5cecc4c4ffa3ebccfe0b
2021-01-30Update lockfile.jsonGitHub
2021-01-29highlights(cpp): fix constructor call highlightingStephan Seitz
Address #883
2021-01-28docs: update READMEKevin Anantha
- change config to configs
2021-01-28feat(query): add cache for get_query (#879)oberblastmeister
* added cached to get_query * added reload function * fixed message * added autocommand to reload cache on bufwrite for query file * pass filename to autocommand v:lua fn * removed comment * added metatable * fixed loop * Update lua/nvim-treesitter/query.lua Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com> * Update lua/nvim-treesitter/query.lua Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com> * added do ... end to local query_cache * made line shorter Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
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-22Update lockfile.jsonGitHub
2021-01-22C: add goto to localsSantos Gallegos