neovim / tree-sitter-vimdoc

Tree-sitter parser for Vim help files
Apache License 2.0
97 stars 13 forks source link

`'*'` gets parsed as `tag` #105

Closed T-727 closed 1 year ago

T-727 commented 1 year ago

Problem

'*' gets a parsed as a tag node

Examples

clason commented 1 year ago

That is known and "wontfix" -- the docs should be edited instead to use the unambiguous "*". (PR welcome.)

justinmk commented 1 year ago

Incidentally, this is mostly fixed in https://github.com/neovim/tree-sitter-vimdoc/pull/97 ('*' will parse as word and possibly ERROR, though I'll try to improve that).

But still, it's silly for help text to have invalid links like this. ' is a special char in help text, it shouldn't be mis-used.