summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-05-06 15:13:21 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-05-06 15:13:21 -0500
commit7d34224dd2864c4b58f894c22af780dbaadca522 (patch)
tree7cc0ff9266c3d03c8fd2d95533129748450a8cd3 /vimrc
parentcfaddadee58d4921e661d1a4c29ad7bd47df8ecc (diff)
downloadconf-7d34224dd2864c4b58f894c22af780dbaadca522.tar.gz
conf-7d34224dd2864c4b58f894c22af780dbaadca522.zip
use :help as the keywordprog for vim files
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 7d43529..1f646eb 100644
--- a/vimrc
+++ b/vimrc
@@ -256,6 +256,9 @@ autocmd FileType lua setlocal include=\\s*require\\s*
autocmd FileType lua setlocal includeexpr=substitute(v:fname,'\\.','/','g').'.lua'
autocmd FileType lua exe "setlocal path=" . system("lua -e 'local fpath = \"\" for path in package.path:gmatch(\"[^;]*\") do if path:match(\"\?\.lua$\") then fpath = fpath .. path:gsub(\"\?\.lua$\", \"\") .. \",\" end end print(fpath:gsub(\",,\", \",.,\"):sub(0, -2))'")
" }}}
+" Vim {{{
+autocmd FileType vim setlocal keywordprg=:help
+" }}}
" }}}
" }}}
" Remappings {{{