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