summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
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()