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 )
|
exec( "hi StatusLineNC " . l:highlightfgbgcolor )
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! g:zenroom_goyo_before()
|
function! Zenroom_goyo_before()
|
||||||
if !has("gui_running")
|
if !has("gui_running")
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
@ -73,7 +73,7 @@ function! g:zenroom_goyo_before()
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! g:zenroom_goyo_after()
|
function! Zenroom_goyo_after()
|
||||||
if !has("gui_running")
|
if !has("gui_running")
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
@ -87,4 +87,4 @@ function! g:zenroom_goyo_after()
|
||||||
endif
|
endif
|
||||||
endfunction
|
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