aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin/lua.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/ftplugin/lua.vim')
-rw-r--r--after/ftplugin/lua.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/after/ftplugin/lua.vim b/after/ftplugin/lua.vim
index b611326..c629428 100644
--- a/after/ftplugin/lua.vim
+++ b/after/ftplugin/lua.vim
@@ -1,5 +1,6 @@
-" Disable inserting comment leader after hitting o or O
+" Disable inserting comment leader after hitting o or O or <Enter>
set formatoptions-=o
+set formatoptions-=r
set tabstop=2 " number of visual spaces per TAB
set softtabstop=2 " number of spaces in tab when editing