We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a35e9ce + 691b8ab commit eaf2507Copy full SHA for eaf2507
syntax/pandoc.vim
@@ -584,7 +584,7 @@ if g:pandoc#syntax#style#emphases == 1
584
if !exists('s:hi_tail')
585
for s:i in ["fg", "bg"]
586
let s:tmp_val = synIDattr(synIDtrans(hlID("String")), s:i)
587
- let s:tmp_ui = has('gui_running') || has('nvim') ? 'gui' : 'cterm'
+ let s:tmp_ui = has('gui_running') || (has('termguicolors') && &termguicolors) ? 'gui' : 'cterm'
588
if !empty(s:tmp_val) && s:tmp_val != -1
589
exe 'let s:'.s:i . ' = "'.s:tmp_ui.s:i.'='.s:tmp_val.'"'
590
else
0 commit comments