Skip to content

Commit a3f4f3e

Browse files
committed
Fix toc ident for markdown
1 parent cec8e77 commit a3f4f3e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.vimrc.dist

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,15 @@ nmap <F6> <Plug>AirlineSelectNextTab
124124
let g:airline#extensions#whitespace#enabled = 0
125125

126126
" -- markdown --
127+
au FileType markdown setlocal
128+
\ expandtab
129+
\ tabstop=2
130+
\ softtabstop=2
131+
\ shiftwidth=2
127132
let g:vim_markdown_folding_disabled = 1
128133
let g:vim_markdown_toc_autofit = 1
134+
let g:vim_markdown_new_list_item_indent = 2
135+
129136

130137
" -- status line --
131138
set laststatus=2

0 commit comments

Comments
 (0)