Skip to content

Commit dfa1e55

Browse files
authored
Merge pull request #343 from jamessan/multiple-signs
2 parents f8e26d0 + f113247 commit dfa1e55

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

autoload/sy/sign.vim

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,12 @@ endfunction
248248

249249
" s:external_sign_present {{{1
250250
function! s:external_sign_present(sy, line) abort
251+
" If sign priority is supported, so are multiple signs per line.
252+
" Therefore, we can report no external signs present and let
253+
" g:signify_priority control whether Sy's signs are shown.
254+
if !empty(s:sign_priority)
255+
return
256+
endif
251257
if has_key(a:sy.external, a:line)
252258
if has_key(a:sy.internal, a:line)
253259
" Remove Sy signs from lines with other signs.

0 commit comments

Comments
 (0)