blob: dfdb366311aa5210e38abeb8b21a503b4ef6a0db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
if exists('g:loaded_buffer_browser') | finish | endif " prevent loading file twice
let s:save_cpo = &cpo " save user coptions
set cpo&vim " reset them to defaults
" command to run our plugin
command! BufferBrowserNext lua require'buffer_browser'.next()
command! BufferBrowserPrevious lua require'buffer_browser'.prev()
let &cpo = s:save_cpo " and restore after
unlet s:save_cpo
let g:loaded_whid = 1
|