2022-01-05 07:26:01 +08:00
|
|
|
# helpful.vim
|
|
|
|
|
|
|
|
A plugin for plugin developers to get the version of Vim and Neovim that
|
|
|
|
introduced or removed features.
|
|
|
|
|
|
|
|
![helpful](https://cloud.githubusercontent.com/assets/111942/16898497/2bf0a402-4baa-11e6-9f9b-3793384d5894.png)
|
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2024-06-10 14:34:48 +08:00
|
|
|
The command `:HelpfulVersion` takes a subject to search for helptags and
|
2022-01-05 07:26:01 +08:00
|
|
|
display version information.
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
|
|
|
|
```vim
|
|
|
|
" Search for a function
|
|
|
|
:HelpfulVersion matchaddpos()
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
- `b:helpful` - If set to `1`, display version information about the text under
|
|
|
|
the cursor on `CursorMoved` in `help` or `vim` filetypes.
|
|
|
|
- `g:helpful` - Same as above but always on. It's also less humorous to read
|
|
|
|
out loud.
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|