mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-23 20:41:30 +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, ...)
|
||||
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]\+$'
|
||||
return code
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user