diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-06 15:13:21 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-06 15:13:21 -0500 |
commit | 7d34224dd2864c4b58f894c22af780dbaadca522 (patch) | |
tree | 7cc0ff9266c3d03c8fd2d95533129748450a8cd3 /vimrc | |
parent | cfaddadee58d4921e661d1a4c29ad7bd47df8ecc (diff) | |
download | conf-7d34224dd2864c4b58f894c22af780dbaadca522.tar.gz conf-7d34224dd2864c4b58f894c22af780dbaadca522.zip |
use :help as the keywordprog for vim files
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 {{{ |