summaryrefslogtreecommitdiff
path: root/runtime/ftplugin/lua.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/lua.vim')
-rw-r--r--runtime/ftplugin/lua.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/ftplugin/lua.vim b/runtime/ftplugin/lua.vim
index 88b1fc9d4..3529e1e3f 100644
--- a/runtime/ftplugin/lua.vim
+++ b/runtime/ftplugin/lua.vim
@@ -4,7 +4,8 @@
" Previous Maintainer: Max Ischenko <mfi@ukr.net>
" Contributor: Dorai Sitaram <ds26@gte.com>
" C.D. MacEachern <craig.daniel.maceachern@gmail.com>
-" Last Change: 2022 Nov 19
+" Tyler Miller <tmillr@proton.me>
+" Last Change: 2023 Mar 24
if exists("b:did_ftplugin")
finish
@@ -14,7 +15,7 @@ let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo&vim
-setlocal comments=:--
+setlocal comments=:---,:--
setlocal commentstring=--\ %s
setlocal formatoptions-=t formatoptions+=croql