mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-16 07:13:50 -05:00
Load default color scheme when g:colors_name is not defined (#14)
This commit is contained in:
@@ -259,9 +259,7 @@ function! s:goyo_off()
|
||||
for [k, v] in items(goyo_revert)
|
||||
execute printf("let &%s = %s", k, string(v))
|
||||
endfor
|
||||
if exists('g:colors_name')
|
||||
execute 'colo '. g:colors_name
|
||||
endif
|
||||
execute 'colo '. get(g:, 'colors_name', 'default')
|
||||
|
||||
if goyo_disabled_gitgutter
|
||||
silent! GitGutterEnable
|
||||
|
||||
Reference in New Issue
Block a user