neovim / tree-sitter-vimdoc

Tree-sitter parser for Vim help files

Repository from Github https://github.comneovim/tree-sitter-vimdocRepository from Github https://github.comneovim/tree-sitter-vimdoc

`'*'` gets parsed as `tag`

T-727 opened this issue · comments

commented

Problem

'*' gets a parsed as a tag node

Examples

  • editing.txt line 1584
  • autocmd.txt line 1165

Additional notes

Reproducable on Windows11, nvim release 0.9.0 with nvim --clean

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

Incidentally, this is mostly fixed in #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.