mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-24 04:51:31 +08:00
Merge pull request #117 from buztard/nvim-colors
Make sure to use the cterm color attribute
This commit is contained in:
@@ -58,7 +58,7 @@ endif
|
|||||||
|
|
||||||
function! s:get_color(attr, ...)
|
function! s:get_color(attr, ...)
|
||||||
for group in a:000
|
for group in a:000
|
||||||
let code = synIDattr(synIDtrans(hlID(group)), a:attr)
|
let code = synIDattr(synIDtrans(hlID(group)), a:attr, 'cterm')
|
||||||
if code =~ '^[0-9]\+$'
|
if code =~ '^[0-9]\+$'
|
||||||
return code
|
return code
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user