Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sisrfeng opened this issue Apr 13, 2023 · 3 comments
Closed

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

sisrfeng opened this issue Apr 13, 2023 · 3 comments

Comments

@sisrfeng
Copy link

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
Copy link
Member

clason commented Apr 13, 2023

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

@clason clason closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2023
@justinmk
Copy link
Member

justinmk commented Jun 4, 2023

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:

  • the structure of functions in :help builtin assume fixed-width rendering, or an implicit header-like behavior of the right-aligned *tag*:
    eventhandler()						*eventhandler()*
     	Returns 1 when inside an event handler.  That is that Vim got
     	interrupted while waiting for the user to type a character,
    
  • completely ad-hoc "tables" found everywhere, or ascii art. No consistent rules.

@sisrfeng
Copy link
Author

sisrfeng commented Jun 9, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants