Fixed an issue that caused a large number of errors in the 'tag' plugin if a tagfile was empty.
This commit is contained in:
parent
e61e7d5b80
commit
f8f8f56fae
@ -42,6 +42,7 @@ endf
|
|||||||
fu! s:filter(tags)
|
fu! s:filter(tags)
|
||||||
let [nr, alltags] = [0, a:tags]
|
let [nr, alltags] = [0, a:tags]
|
||||||
wh 0 < 1
|
wh 0 < 1
|
||||||
|
if empty(alltags) | brea | en
|
||||||
if alltags[nr] =~ '^!' && alltags[nr] !~ '^!_TAG_'
|
if alltags[nr] =~ '^!' && alltags[nr] !~ '^!_TAG_'
|
||||||
let nr += 1
|
let nr += 1
|
||||||
con
|
con
|
||||||
|
Loading…
Reference in New Issue
Block a user