fruitjam-doom/.lvimrc
Simon Howard 6f8ac36f66 Add textscreen Doxyfile to dist. Add .desktop file to svn:ignore. Add
opl ctags file to localvimrc.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1922
2010-04-30 19:38:24 +00:00

32 lines
781 B
Text

" Local vimrc configuration file. Install the localvimrc.vim vim script.
set expandtab
set tabstop=8
set softtabstop=4
set shiftwidth=4
" Add all tag files to tags path.
let topdir = findfile("configure.in", ".;")
let topdir = substitute(topdir, "configure.in", "", "")
" Check tags file in current dir:
set tags+=tags
" Add tag files in parent directories:
let tagfiles = findfile("tags", ".;", -1)
" Add tag files for libraries:
call add(tagfiles, topdir . "opl/tags")
call add(tagfiles, topdir . "pcsound/tags")
call add(tagfiles, topdir . "textscreen/tags")
for tagfile in tagfiles
" Don't go beyond the project top level when adding parent dirs:
if stridx(tagfile, topdir) >= 0
exec "set tags+=" . tagfile
endif
endfor
unlet topdir
unlet tagfiles