Skip to content

Commit a21d731

Browse files
committed
refactor(vim): optimize markdown configuration
1 parent 7838d1e commit a21d731

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

vim/vimrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2527,6 +2527,9 @@ autocmd bufnewfile *.sh call SetTitleForShell()
25272527

25282528
"""""""" Markdown {{
25292529

2530+
" 缩进大小改为 2 个空格, insert 模式下将 tab 扩展为 2 个空格.
2531+
au FileType markdown setlocal expandtab ts=2 sw=2 sts=2
2532+
25302533
""""""" dhruvasagar/vim-table-mode
25312534
" doc: https://github.com/dhruvasagar/vim-table-mode
25322535

0 commit comments

Comments
 (0)