diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 00:20:02 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 00:20:02 -0500 |
commit | 365b7cdd4345fa15a7b00e68f468bc355bbc86ad (patch) | |
tree | 60427c15087d15123605572ddf6f6dcecb44c522 /vimrc | |
parent | b036c7384ca67c87ed29e01a25a5c179c100dbba (diff) | |
download | vim-foldtext-365b7cdd4345fa15a7b00e68f468bc355bbc86ad.tar.gz vim-foldtext-365b7cdd4345fa15a7b00e68f468bc355bbc86ad.zip |
set commentstring for lua files
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -319,6 +319,9 @@ autocmd FileType perl setlocal keywordprg=perldoc\ -f " Latex :make converts to pdf {{{ autocmd FileType tex setlocal makeprg=~/bin/latexpdf\ --show\ % " }}} +" Lua needs to have commentstring set {{{ +autocmd FileType lua set commentstring=--%s +" }}} " Set up custom folding {{{ autocmd FileType tex set foldtext=Latex_foldtext() autocmd FileType cpp set foldtext=Cpp_foldtext() |