1 " Local vimrc configuration file. Install the localvimrc.vim vim script.
7 " Add all tag files to tags path.
9 let topdir = findfile("configure.in", ".;")
10 let topdir = substitute(topdir, "configure.in", "", "")
12 " Check tags file in current dir:
15 " Add tag files in parent directories:
16 let tagfiles = findfile("tags", ".;", -1)
18 " Add tag files for libraries:
19 call add(tagfiles, topdir . "opl/tags")
20 call add(tagfiles, topdir . "pcsound/tags")
21 call add(tagfiles, topdir . "textscreen/tags")
23 for tagfile in tagfiles
24 " Don't go beyond the project top level when adding parent dirs:
25 if stridx(tagfile, topdir) >= 0
26 exec "set tags+=" . tagfile