neovim / tree-sitter-vimdoc

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

Any example of "vimdoc's endless quirks" ? #101

Closed sisrfeng closed 1 year ago

sisrfeng commented 1 year ago

I've changed my syntax/help.vim a lot, and I'm curious on the quirks. (If this is off-topic, please forgive me )

clason commented 1 year ago

Not an actionable issue; questions are better asked on Matrix.

justinmk commented 1 year ago

The quirks are endless, so they can be found everywhere. Most egregious are the pervasive assumptions of (1) fixed-width rendering and (2) any errors are "just highlighting errors, so no big deal".

Examples:

sisrfeng commented 1 year ago

I hate the syntex of vimdoc. Since people like me may come here, I hope more people see my suggestion on "A Modern NeoVimdoc" https://github.com/neovim/neovim/issues/18017

Relevant thoughts (written in Chinese): https://www.zhihu.com/question/522622970/answer/2396053988