Skip to content

Commit

Permalink
Move a comment to the proper position
Browse files Browse the repository at this point in the history
  • Loading branch information
machakann committed Jan 30, 2020
1 parent a167185 commit 3871624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/highlightedyank/highlight.vim
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,11 @@ function! s:matchdelete_all(ids) abort "{{{
endif

let alive_ids = map(getmatches(), 'v:val.id')
" Return if another plugin called clearmatches() which clears *ALL*
" highlights including others set.
if empty(alive_ids)
return
endif
" Return if another plugin called clearmatches() which clears *ALL*
" highlights including others set.
if !count(alive_ids, a:ids[0])
return
endif
Expand Down

0 comments on commit 3871624

Please sign in to comment.