Replies: 1 comment
-
The full description of how first line should be formatted for it do appear in local additions are listed in
I am more inclined to follow the I did not want to use 'mini-ai.txt' at start because module/plugin name is 'mini.ai', not 'mini-ai'. In turn, help file is named 'mini-ai.txt' because 'mini.ai.txt' feels wrong for having two dots in its name. Besides, having two tags for identical purposes is already a bit much. Adding third one is definitely too much. Help files most certainly won't have a "Last change:" text because it has little value in my opinion and needs to be additionally automated on top of existing automation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is continuation of discussion I originally mentioned in PR "vimdoc format patches" #264 .
The updated file in github repo can produce nice entry for "LOCAL ADDITIONS". Thanks. It served my needs well.
In order to make sure I didn't create misunderstanding, let me summarize vimdoc help file convention situation. It's too complicated for me and I don't find easy answer which one is the best one.
The vimdoc help files shipped by vim start with:
The vimdoc help files shipped by nvim start with:
Since these are part of system, these are not scanned for LOCAL ADDITIONS:`. So tailing differences makes no real impact other than how they show up in help.txt.
The vimdoc help files shipped by vim package author such as aireline (and most other packages on my system) start with:
This ensure nice looking and consistent listing of auto generated content for help.txt.
The vimdoc help files shipped by many nvim package author such as LazyVim follow:
These missing package explanation. (There are also some packages which follow similar style with explanation as vim packages.)
For all cases, the initial line starts with it's file name.
In your updated file, e.g.,
mini-ai.txt
, you start with:If you want to keep it consistent with the convention to start with file name, this should be more like
FYI: The above should still allow us to jump to
mini.ai
.Beta Was this translation helpful? Give feedback.
All reactions