Closed amaanq closed 6 months ago
nope, not sure how
This inflates state count quite a bit, though...
nope, not sure how
Manually build the parser, put it in .local/share/nvim/site/parser
, then open the Haskell query with Neovim.
Seems to work as well. I do worry about state count, though. Maybe try moving the seq
into a separate hidden rule?
Also, this will break queries, which expect name: (identifier)
?
Seems to work as well. I do worry about state count, though. Maybe try moving the
seq
into a separate hidden rule?
This increases it by 30
Also, this will break queries, which expect
name: (identifier)
?
No, unless it's anchored, since the name field is present in both places
This should not break the formatter, at least from what I can see. Running format-queries runtime/queries
in the haskell PR results in 0diff with the result of latest nvim-treesitter
Will make a release with this later today.
@amaanq Do we want to add queries for this?
Did you test this with the query formatter and linter?