From d8b92965e891c5d05f65542383c087871175c27f Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 11 Oct 2022 00:47:59 +0800 Subject: [PATCH] change tab size for sql --- after/ftplugin/sql.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/after/ftplugin/sql.vim b/after/ftplugin/sql.vim index 8c0d563..e407c31 100644 --- a/after/ftplugin/sql.vim +++ b/after/ftplugin/sql.vim @@ -1 +1,6 @@ set commentstring=--\ %s + +set tabstop=2 " number of visual spaces per TAB +set softtabstop=2 " number of spaces in tab when editing +set shiftwidth=2 " number of spaces to use for autoindent +set expandtab " expand tab to spaces so that tabs are spaces