diff --git a/plugin/peekaboo.vim b/plugin/peekaboo.vim index e44a178..8e60ddc 100644 --- a/plugin/peekaboo.vim +++ b/plugin/peekaboo.vim @@ -24,7 +24,7 @@ nnoremap (peekaboo) :call peekaboo#aboo() xnoremap (peekaboo) :call peekaboo#aboo() inoremap (peekaboo) :call peekaboo#aboo() -function! peekaboo#on() +function! Peekaboo_on() if get(b:, 'peekaboo_on', 0) return endif @@ -39,7 +39,7 @@ function! peekaboo#on() return '' endfunction -function! peekaboo#off() +function! Peekaboo_off() if !get(b:, 'peekaboo_on', 0) return endif @@ -55,6 +55,6 @@ endfunction augroup peekaboo_init autocmd! - autocmd BufEnter * if !exists('*getcmdwintype') || empty(getcmdwintype()) | call peekaboo#on() | endif + autocmd BufEnter * if !exists('*getcmdwintype') || empty(getcmdwintype()) | call Peekaboo_on() | endif augroup END