mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 12:03: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
|
function! s:get_hl(group, what, mode) abort
|
||||||
let r = synIDattr(synIDtrans(hlID(a:group)), a:what, a:mode)
|
let r = synIDattr(synIDtrans(hlID(a:group)), a:what, a:mode)
|
||||||
if index(['', '-1'], r) >= 0
|
if empty(r) || r == -1
|
||||||
return 'NONE'
|
return 'NONE'
|
||||||
endif
|
endif
|
||||||
return r
|
return r
|
||||||
|
|||||||
Reference in New Issue
Block a user