mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
fix zenroom2.vim | bug fix
This commit is contained in:
@ -62,7 +62,7 @@ function! s:markdown_room()
|
||||
exec( "hi StatusLineNC " . l:highlightfgbgcolor )
|
||||
endfunction
|
||||
|
||||
function! g:zenroom_goyo_before()
|
||||
function! g: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! g: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('g:Zenroom_goyo_before'), function('g:Zenroom_goyo_after') ]
|
||||
|
Reference in New Issue
Block a user