neovim / tree-sitter-vimdoc

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

parse error: syntax.txt #56

Closed Trard closed 1 year ago

Trard commented 1 year ago

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

Context:

    a number instead of a color name.

    Note that for 16 color ansi style terminals (including xterms), the
    numbers in the NR-8 column is used.  Here '*' means 'add 8' so that 
    Blue is 12, DarkGray is 8 etc.

    Note that for some color terminals these names may result in the wrong
justinmk commented 1 year ago

single quotes are wrong here, doc should be updated to use ".

and use backticks for this line in that same file:

 If you do not want complex things like '@{${"foo"}}' to be parsed: