From 365b7cdd4345fa15a7b00e68f468bc355bbc86ad Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Mon, 21 Apr 2008 00:20:02 -0500 Subject: set commentstring for lua files --- vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vimrc b/vimrc index 60eeee2..05cf792 100644 --- a/vimrc +++ b/vimrc @@ -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() -- cgit v1.2.3-54-g00ecf