diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index d876de1..1ea605f 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -2184,6 +2184,7 @@ function! s:ExecuteCtagsOnFile(fname, realfname, typeinfo) abort \ '--excmd=pattern', \ '--fields=nksSaf', \ '--extra=', + \ '--file-scope=yes', \ '--sort=no', \ '--append=no' \ ]