aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-01-01 17:43:06 +0800
committerGitHub <noreply@github.com>2020-01-01 17:43:06 +0800
commit0538162c4d6ecb8f85e1ef4b9aa6c9994a3557fc (patch)
treebd0264c57e57dd5f9e1ee1b59a9f564fdb894756 /after/ftplugin
parentf16ae086ad3c3c6c4deaab0a0785fd7d155519c0 (diff)
Update options for Markdown filetype
Diffstat (limited to 'after/ftplugin')
-rw-r--r--after/ftplugin/markdown.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/after/ftplugin/markdown.vim b/after/ftplugin/markdown.vim
index 583e0a5..c332ff4 100644
--- a/after/ftplugin/markdown.vim
+++ b/after/ftplugin/markdown.vim
@@ -1 +1,5 @@
set concealcursor=c
+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