8000 Update plugconf examples function names by hupfdule · Pull Request #271 · vim-volt/volt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update plugconf examples function names #271

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

Merged
merged 5 commits into from
Apr 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,10 @@ For example, [tyru/open-browser-github.vim](https://github.com/tyru/open-browser

Some special functions can be defined in plugconf file:

* `s:config()`
* Plugin configuration
* `s:on_load_pre()`
* Plugin configuration to be executed before a plugin is loaded
* `s:on_load_post()`
* Plugin configuration to be executed after a plugin is loaded
* `s:loaded_on()` (optional)
* Return value: String (when to load a plugin by `:packadd`)
* This function specifies when to load a plugin by `:packadd`
Expand All @@ -247,7 +249,8 @@ An example config of [tyru/open-browser-github.vim](https://github.com/tyru/open

```vim
" Plugin configuration like the code written in vimrc.
function! s:config()
" This configuration is executed *before* a plugin is loaded.
function! s:on_load_pre()
let g:openbrowser_github_always_use_commit_hash = 1
endfunction

Expand Down
0