-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: support only "-", "•" as listitem, constrain (argument) definition #97
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
"+" and "*" have many false-positives and aren't commonly used as a listitem prefix.
This is in decent shape now and fixes #96 . ✅ It causes some errors in the generated help, need to double-check that. |
(word)) | ||
(word) | ||
(ERROR | ||
(word)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{arg}
no longer allows whitespace. That wasn't used in any :help docs anyway, and isn't in vim's help syntax.
Since neovim/tree-sitter-vimdoc#97 the many cases of *.foo cause parser errors. But even before that, these were erroneously highlighted as (argument), so fixing them is good.
Since neovim/tree-sitter-vimdoc#97 the many cases of *.foo cause parser errors. But even before that, these were erroneously highlighted as (argument), so fixing them is good.
Since neovim/tree-sitter-vimdoc#97 the many cases of *.foo cause parser errors. But even before that, these were erroneously highlighted as (argument), so fixing them is good.
any follow-ups planned? otherwise I'd cut a release and bump the bundled parser. |
Yeah I think we should get #103 in before releasing. |
That one has a bunch of regressions, unfortunately. I'd prefer to tackle this in smaller steps, fwiw. Let's see how it looks after a rebase, though. |
Yeah, no objection to releasing. |
Release early, release often ;) (I'm trying to poke tree-sitter into making more regular releases from their parsers; right now, we're either stuck in 2021 -- worst timeline -- or need to track HEAD even for releases.) In any case, not really urgent; that was meant more as an offer to take things off your plate. |
Problem
(argument)
supports whitespace but,{
is used in textSolution
(argument)
fixes #96