summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-05Be more accurate about code block languageMDeiml
2022-01-05fix(haskell): Haskell switched to C scannerStephan Seitz
2022-01-05Update lockfile.jsonGitHub
2022-01-05highlights(Pascal): Fix highlighting of typesPhilip Zander
A recent change broke highlighting for namespaces & generic types like `foo.bar` and `foo<t>`.
2022-01-05fix: Remove pi_statement from highlight to sync up with upstream changeMads Kjeldgaard
2022-01-05Update READMEGithub Actions
2022-01-05fix(fusion): update lockfile to latestJirgn
2022-01-05add(rasi): add rasi parserFymyte
Signed-off-by: Fymyte <pierguill@gmail.com>
2022-01-04Remove Python docstring injectionsRafik Draoui
These injections lead to inconsistent highlighting since some edge cases aren't handled (as mentioned in the PR description that introduced the injections [0]). Besides, not all Python projects use reStructuredText syntax in docstrings. If someone still wants to use them, they can extend the base injection queries through `after/queries/` [1] or enable them with `vim.treesitter.set_query`. See also: https://github.com/nvim-treesitter/nvim-treesitter/pull/1204 [0]: https://github.com/nvim-treesitter/nvim-treesitter/pull/917 [1]: https://github.com/nvim-treesitter/nvim-treesitter/tree/ad69e2528ac382b7cbf28f1ac7ee450981734ab0#adding-queries
2022-01-04Update READMEGithub Actions
2022-01-04Fix: Account for winnr being nil in calls to get_node_at_cursorWil Thomason
2022-01-04update lockfile for fusionJirgn
2022-01-04fix: remove experimental flagJirgn
We now have a working grammer and also * highlight * indent * fold no need for experimental hint anymore
2022-01-04fix: typo in locals queryJirgn
2022-01-04fix: add eel_array and eel_object to indent queryJirgn
2022-01-04fix: highlights for value_expression start and end as punctuationJirgn
2022-01-04feat: add indent for fusion and afxJirgn
2022-01-04fix: add afx_text to highlights (text)Jirgn
2022-01-04feat: add more local definitionsJirgn
2022-01-04feat: add fold queriesJirgn
2021-12-29highlights(pascal): Highlight variablesPhilip Zander
Assume that any identifiers that aren't function calls, types, fields or constants are variables. This is consistent with the highlighting definitions for other languages. Some themes (e.g. zenbones) make use of this information and they don't look quite right unless we set those groups.
2021-12-24Update README (#2160)github-actions[bot]
Co-authored-by: Github Actions <actions@github>
2021-12-24Update lockfile.json (#2150)github-actions[bot]
* Update lockfile.json * Don't update supercollider Co-authored-by: GitHub <noreply@github.com> Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2021-12-24Add support for Pascal (#2153)Isopod
* Add support for Pascal * Pascal: Replace some of the capture groups, use lua-match where possible
2021-12-24Query: update highlightsSantos Gallegos
ref https://github.com/nvim-treesitter/tree-sitter-query/pull/17
2021-12-23PHP: highlight unsetSantos Gallegos
Similar to https://github.com/tree-sitter/tree-sitter-php/blob/57f855461aeeca73bd4218754fb26b5ac143f98f/grammar.js#L130-L132 Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/2156
2021-12-23update fusion to version 1.1.1 (#2148)jirgn
* feat(fusion): update tests * fix(fusion): update lockfile * fix(fusion): update to (highlight breaking) version 1.1.0 * update grammer to introduce afx support * update tests and queries * fix: revert lockfile update of unrelated grammars * fix: update to 1.1.1 and fix hightlights * fix: use @tag.attribute capture to match specs Co-authored-by: Jirgn <jirgn76@googlemail.com>
2021-12-22Update queriesSantos Gallegos
- Don't use the old form for predicates - Update some invalid queries
2021-12-21Markdown: update queriesSantos Gallegos
2021-12-20ci(injection tests): don't consider root language an injectionStephan Seitz
2021-12-20ci: add injection testsStephan Seitz
2021-12-20ci: Remove "ensure_installed" from minimal_init.luaStephan Seitz
2021-12-20Update lockfile.jsonGitHub
2021-12-20goto_node: normalize range for nvim_win_set_cursorSantos Gallegos
Looks like neovim doesn't accept -1 on nvim_win_set_cursor. It's listed as an exception on `:h api-indexing`. Fixes https://github.com/nvim-treesitter/nvim-treesitter-textobjects/issues/149
2021-12-20Update lockfile.jsonGitHub
2021-12-19highlights(markdown): separate highlight for header marker and underline (#2129)Michael Chris Lopez
2021-12-18highlights(python): Improve self and cls highlight (#2134)Fabian
1. This function simplifies an unnecessary lua-match usage. 2. Fixes an accidental change, where "cls" was changed to "class" (fe4f320b66) 3. Match functions, which have have a decorator. 4. But exclude @staticmethod 5. Only highlight "cls" as @variable.builtin when the decorator is @classmethod This might be a bit to complicated and some of this not to useful, as this existing rule: ```scm ((identifier) @variable.builtin (#eq? @variable.builtin "self")) ``` overwrites the queries anyway.
2021-12-18Update lockfile.jsonGitHub
2021-12-18Update lockfile.jsonGitHub
2021-12-18Add support for new golang `go.work` filesOmer Tuchfeld
The new golang 1.18 version (currently in beta) [introduced](https://github.com/golang/go/issues/45713) a new file type called `go.work`. This commit adds support for the syntax of that file using the https://github.com/omertuc/tree-sitter-go-work repository That repository is heavily based on previous work in the https://github.com/camdencheek/tree-sitter-go-mod repository, with a few minor changes to make it work on the very similar `go.work` files.
2021-12-18Fix misleading text in `CONTRIBUTING.md` (#2137)Omer Tuchfeld
2021-12-18Update lockfile.jsonGitHub
2021-12-18Update lockfile.json (#2124)github-actions[bot]
Co-authored-by: GitHub <noreply@github.com>
2021-12-18Make example config more easy to readSantos Gallegos
Ref https://github.com/nvim-treesitter/nvim-treesitter/issues/2095#issuecomment-992759818
2021-12-17highlights(markdown): highlight link_text as @text.referenceMichael Chris Lopez
2021-12-15Update lockfile.jsonGitHub
2021-12-15feat: enable parsers after installation immediately without reloadStephan Seitz
2021-12-14highlights(bash): add `[[` `]]`lucy
2021-12-14highlights(bash): add process substitutionlucy
2021-12-14Update lockfile.jsonGitHub