mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-24 20:31:25 -05:00
Fix termguicolors
This commit is contained in:
parent
dc330b2cdc
commit
e859159e49
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ let colors_name = "darkcloud"
|
|||
|
||||
"sets the highlighting for the given group | format: s:C('Name','Foreground','Background','Style')
|
||||
fun! s:C(group, fg, bg, attr)
|
||||
if has("gui_running")
|
||||
if has("gui_running") || &termguicolors
|
||||
let l:term = "gui"
|
||||
else
|
||||
let l:term = "cterm"
|
||||
|
|
Loading…
Reference in a new issue