]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/ftplugin/markdown.vim
Use nvim as default editor in shell
[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: