mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Make conditional style consistent with codebase
This commit is contained in:
committed by
Andy Stewart
parent
8696c880df
commit
25f3c56335
@@ -133,7 +133,7 @@ endfunction
|
||||
|
||||
function! s:get_hl(group, what, mode) abort
|
||||
let r = synIDattr(synIDtrans(hlID(a:group)), a:what, a:mode)
|
||||
if index(['', '-1'], r) >= 0
|
||||
if empty(r) || r == -1
|
||||
return 'NONE'
|
||||
endif
|
||||
return r
|
||||
|
||||
Reference in New Issue
Block a user