neovim / tree-sitter-vimdoc

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

parse error: motion.txt, invalid option: 'a - 'z #45

Closed jdhao closed 2 years ago

jdhao commented 2 years ago

Found tree-sitter-vimdoc parse error at: https://neovim.io/doc/user/motion.html

Context:

remembered.  Do not confuse marks with named registers, they are totally
unrelated.

'a - 'z     lowercase marks, valid within one file
'A - 'Z     uppercase marks, also called file marks, valid between files
'0 - '9     numbered marks, set from .shada file

The single quote followed by a digit or character (for those register types) is not handled correctly.