Add other missing files to dist.
[chocolate-doom.git] / .lvimrc
blobcc2893d91b15abe7a53323005b8918b0fbdb1162
1 " Local vimrc configuration file.  Install the localvimrc.vim vim script.
2 set expandtab
3 set tabstop=8
4 set softtabstop=4
5 set shiftwidth=4
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:
13 set tags+=tags
15 " Add tag files in parent directories:
16 let tagfiles = findfile("tags", ".;", -1)
18 " Add tag files for libraries:
19 call add(tagfiles, topdir . "textscreen/tags")
20 call add(tagfiles, topdir . "pcsound/tags")
22 for tagfile in tagfiles
23     " Don't go beyond the project top level when adding parent dirs:
24     if stridx(tagfile, topdir) >= 0
25         exec "set tags+=" . tagfile
26     endif
27 endfor
29 unlet topdir
30 unlet tagfiles