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
|
## Callbacks for GVim
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
function! Goyo_before()
|
function! GoyoBefore()
|
||||||
if has('gui_running')
|
if has('gui_running')
|
||||||
set fullscreen
|
set fullscreen
|
||||||
set background=light
|
set background=light
|
||||||
@@ -11,7 +11,7 @@ function! Goyo_before()
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! Goyo_after()
|
function! GoyoAfter()
|
||||||
if has('gui_running')
|
if has('gui_running')
|
||||||
set nofullscreen
|
set nofullscreen
|
||||||
set background=dark
|
set background=dark
|
||||||
@@ -21,7 +21,7 @@ function! Goyo_after()
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let g:goyo_callbacks = [function('Goyo_before'), function('Goyo_after')]
|
let g:goyo_callbacks = [function('GoyoBefore'), function('GoyoAfter')]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Disabling plugins
|
## Disabling plugins
|
||||||
|
|||||||
Reference in New Issue
Block a user