From 43289d80160403add1f46d503f30654bd7840c80 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Wed, 1 Feb 2017 23:10:59 +0800 Subject: [PATCH] Fix markdown tagbar support --- config/plugins/tagbar.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/plugins/tagbar.vim b/config/plugins/tagbar.vim index 6b95bf5d2..2a69e2c12 100644 --- a/config/plugins/tagbar.vim +++ b/config/plugins/tagbar.vim @@ -1,2 +1,12 @@ let g:tagbar_width=30 let g:tagbar_left = 1 + + +let g:tagbar_type_markdown = { + \ 'ctagstype' : 'markdown', + \ 'kinds' : [ + \ 'h:headings', + \ ], + \ 'sort' : 0 +\ } +