diff --git a/bundle/vim-zenroom2/plugin/zenroom2.vim b/bundle/vim-zenroom2/plugin/zenroom2.vim index a9781c74..a0797e52 100644 --- a/bundle/vim-zenroom2/plugin/zenroom2.vim +++ b/bundle/vim-zenroom2/plugin/zenroom2.vim @@ -62,7 +62,7 @@ function! s:markdown_room() exec( "hi StatusLineNC " . l:highlightfgbgcolor ) endfunction -function! g:zenroom_goyo_before() +function! Zenroom_goyo_before() if !has("gui_running") return endif @@ -73,7 +73,7 @@ function! g:zenroom_goyo_before() endif endfunction -function! g:zenroom_goyo_after() +function! Zenroom_goyo_after() if !has("gui_running") return endif @@ -87,4 +87,4 @@ function! g:zenroom_goyo_after() endif endfunction -let g:goyo_callbacks = [ function('g:zenroom_goyo_before'), function('g:zenroom_goyo_after') ] +let g:goyo_callbacks = [ function('Zenroom_goyo_before'), function('Zenroom_goyo_after') ]