fixed issue in vim-zenroom2 https://github.com/amix/vim-zenroom2/issues/5
This commit is contained in:
parent
a5509415ef
commit
84246ce8b9
1 changed files with 3 additions and 3 deletions
|
@ -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') ]
|
||||
|
|
Loading…
Reference in a new issue