Skip to content

Commit 7f519b6

Browse files
committed
Add s:on_load_post() to example config.
1 parent 889bad7 commit 7f519b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,12 @@ function! s:on_load_pre()
270270
let g:openbrowser_github_always_use_commit_hash = 1
271271
endfunction
272272
273+
" Plugin configuration like the code written in vimrc.
274+
" This configuration is executed *after* a plugin is loaded.
275+
function! s:on_load_post()
276+
call openbrowser#open('https://example.net/my-start-page.html')
277+
endfunction
278+
273279
" This function determines when a plugin is loaded.
274280
"
275281
" Possible values are:

0 commit comments

Comments
 (0)