From 7ace83853411c27133b5052946150dc7348954f5 Mon Sep 17 00:00:00 2001 From: jdhao Date: Thu, 17 Jun 2021 00:21:15 +0800 Subject: update formatoptions for certain filetypes --- after/ftplugin/lua.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'after/ftplugin/lua.vim') 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 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 -- cgit v1.2.3