mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-18 16:33:25 -05:00
Updated Customization (markdown)
@@ -10,3 +10,18 @@ endfunction
|
|||||||
|
|
||||||
let g:goyo_callbacks = [function('s:goyo_before')]
|
let g:goyo_callbacks = [function('s:goyo_before')]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### lightline.vim
|
||||||
|
|
||||||
|
```vim
|
||||||
|
function! g:goyo_before()
|
||||||
|
call lightline#disable()
|
||||||
|
set statusline=
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function! g:goyo_after()
|
||||||
|
call lightline#enable()
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
let g:goyo_callbacks = [function('g:goyo_before'), function('g:goyo_after')]
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user