Permalink
Browse files

rebased on plasticboy: 642730f

  • Loading branch information...
1 parent a800f42 commit 2fd1c0708d116b478d2df8c8b8a857ed705c9665 @rcmdnk committed Nov 24, 2015
Showing with 5 additions and 11 deletions.
  1. +4 −0 ftplugin/markdown.vim
  2. +1 −1 indent/markdown.vim
  3. +0 −10 syntax/markdown.vim
@@ -547,3 +547,7 @@ command! -buffer -range=% HeaderDecrease call s:HeaderDecrease(<line1>, <line2>)
command! -buffer -range=% HeaderIncrease call s:HeaderDecrease(<line1>, <line2>, 1)
command! -buffer -range=% SetexToAtx call s:SetexToAtx(<line1>, <line2>)
command! -buffer TableFormat call s:TableFormat()
+command! -buffer Toc call s:Markdown_Toc()
+command! -buffer Toch call s:Markdown_Toc('horizontal')
+command! -buffer Tocv call s:Markdown_Toc('vertical')
+command! -buffer Toct call s:Markdown_Toc('tab')
View
@@ -10,7 +10,7 @@ setlocal formatoptions+=r
" Do not automatically insert bullets when auto-wrapping with text-width
setlocal formatoptions-=c
" Accept various markers as bullets
-setlocal comments=b:*,b:+,b:-
+setlocal comments=b:*,b:+,b:-,b:1.
" Automatically continue blockquote on line break
setlocal comments+=b:>
View
@@ -145,16 +145,6 @@ HtmlHiLink liquidComment NonText
HtmlHiLink liquidOutput Directory
HtmlHiLink markdownCodeDelimiter liquidTag
-" Automatically insert bullets
-setlocal formatoptions+=r
-" Do not automatically insert bullets when auto-wrapping with text-width
-setlocal formatoptions-=c
-" Accept various markers as bullets
-setlocal comments=b:*,b:+,b:-,b:1.
-
-" Automatically continue blockquote on line break
-setlocal comments+=bn:>
-
let b:current_syntax = "markdown"
delcommand HtmlHiLink

0 comments on commit 2fd1c07

Please sign in to comment.