mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-18 00:03:42 -05:00
Updated Customization (markdown)
@@ -1,7 +1,7 @@
|
||||
## Callbacks for GVim
|
||||
|
||||
```vim
|
||||
function! Goyo_before()
|
||||
function! GoyoBefore()
|
||||
if has('gui_running')
|
||||
set fullscreen
|
||||
set background=light
|
||||
@@ -11,7 +11,7 @@ function! Goyo_before()
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! Goyo_after()
|
||||
function! GoyoAfter()
|
||||
if has('gui_running')
|
||||
set nofullscreen
|
||||
set background=dark
|
||||
@@ -21,7 +21,7 @@ function! Goyo_after()
|
||||
endif
|
||||
endfunction
|
||||
|
||||
let g:goyo_callbacks = [function('Goyo_before'), function('Goyo_after')]
|
||||
let g:goyo_callbacks = [function('GoyoBefore'), function('GoyoAfter')]
|
||||
```
|
||||
|
||||
## Disabling plugins
|
||||
|
||||
Reference in New Issue
Block a user