g:goyo_linenr

This commit is contained in:
Junegunn Choi
2013-12-02 13:01:35 +09:00
parent dddbb459e2
commit f9b450f36b
2 changed files with 4 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ Configuration
- `g:goyo_width` (default: 80)
- `g:goyo_margin_top` (default: 4)
- `g:goyo_margin_bottom` (default: 4)
- `g:goyo_linenr` (default: 0)
Inspiration
-----------

View File

@@ -132,7 +132,9 @@ function! s:goyo_on(width)
GitGutterDisable
endif
if !get(g:, 'goyo_linenr', 0)
set nonu nornu
endif
set colorcolumn=
set winwidth=1
set winheight=1