aboutsummaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-10-11 00:47:59 +0800
committerjdhao <jdhao@hotmail.com>2022-10-11 00:51:00 +0800
commitd8b92965e891c5d05f65542383c087871175c27f (patch)
treee701e76d76186fb0a3fe99ca1ff3a56eaa34ad18 /after
parentebf7170916f2df1d188db23d94627fdb6cc4c9ce (diff)
change tab size for sql
Diffstat (limited to 'after')
-rw-r--r--after/ftplugin/sql.vim5
1 files changed, 5 insertions, 0 deletions
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