]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/ftplugin/markdown.vim
28cac11c744c574ed7c15b0aed94b9fdaf7f0acb
[rbdr/dotfiles] / vim / ftplugin / markdown.vim
1 " Vim filetype plugin
2 " Language: Markdown
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
4
5 if exists("b:did_ftplugin")
6 finish
7 endif
8
9 runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
10 unlet! b:did_ftplugin
11
12 setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=>\ %s
13 setlocal formatoptions+=tcqln
14 setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^[-*+]\\s\\+
15
16 let b:undo_ftplugin .= "|setl cms< com< fo<"
17
18 " vim:set sw=2: