mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-16 15:23:50 -05:00
g:goyo_linenr
This commit is contained in:
@@ -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
|
||||
-----------
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user