mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-17 07:43:42 -05:00
@@ -33,7 +33,7 @@ function! s:get_color(group, attr)
|
||||
endfunction
|
||||
|
||||
function! s:set_color(group, attr, color)
|
||||
let gui = a:color =~ '^#'
|
||||
let gui = has('gui_running') || has('termguicolors') && &termguicolors
|
||||
execute printf('hi %s %s%s=%s', a:group, gui ? 'gui' : 'cterm', a:attr, a:color)
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user