Skip to content

Commit 019f20a

Browse files
authored
Merge pull request #372 from majutsushi/issue-339
Fix for issue #339
2 parents 0415f77 + a76b582 commit 019f20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/ctrlp/buffertag.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fu! s:exectags(cmd)
139139
endf
140140

141141
fu! s:exectagsonfile(fname, ftype)
142-
let [ags, ft] = ['-f - --sort=no --excmd=pattern --fields=nKs --extra= ', a:ftype]
142+
let [ags, ft] = ['-f - --sort=no --excmd=pattern --fields=nKs --extra= --file-scope=yes ', a:ftype]
143143
if type(s:types[ft]) == 1
144144
let ags .= s:types[ft]
145145
let bin = s:bin

0 commit comments

Comments
 (0)