nvim-treesitter-textobjects
nvim-treesitter-textobjects copied to clipboard
Improving julia queries
This is my best attempt to further improve julia queries:
- works for empty structures
- works for
;argument separation - adds
@assignment.*queries
Queries are not perfect, there are still some limitations implied by the julia parser (for future reference: https://github.com/tree-sitter/tree-sitter-julia/issues/142)
format-queries fails for me on
$ nvim -l ~/.local/share/nvim/lazy/nvim-treesitter/scripts/format-queries.lua ./queries/julia/textobjects.scm
E5113: Error while calling lua chunk: ...m/0.10.0/share/nvim/runtime/lua/vim/treesitter/query.lua:252: Query error at 163:17. Impossible pattern:
(anonymous_node (string) @format.keep)
@kiyoon @ribru17 what can I do to merge this please? Tests are failing with some error that seems to not be caused by julia queries.
is this rebased to the current master? Maybe that will fix the problems
is this rebased to the current master? Maybe that will fix the problems
Yes it is
I think people have been working on the R parser. Sorry for the delay but we'll need to wait a little
format-queries fails for me on
Wrong parser version; make sure you install the query parser with nvim-treesitter (just like every bundled parser) to guarantee it's compatible. (Upgrading Nvim 0.10.1 should work, too, since I backported the update.)
I think people have been working on the R parser. Sorry for the delay but we'll need to wait a little
It's fixed now; please rebase on master.
It's fixed now; please rebase on master.
Done, all tests pass now