view runtime/ftplugin/markdown.vim @ 3934:1785a734281a

Added tag v7-3-722 for changeset de6968039340
author Bram Moolenaar <bram@vim.org>
date Tue, 20 Nov 2012 17:03:27 +0100
parents 8b8ef1fed009
children 2eb30f341e8d
line wrap: on
line source

" Vim filetype plugin
" Language:		Markdown
" Maintainer:		Tim Pope <vimNOSPAM@tpope.org>
" Last Change:		2011 Dec 14

if exists("b:did_ftplugin")
  finish
endif

runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
unlet! b:did_ftplugin

setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=>\ %s
setlocal formatoptions+=tcqln
setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^[-*+]\\s\\+

if exists('b:undo_ftplugin')
  let b:undo_ftplugin .= "|setl cms< com< fo< flp<"
else
  let b:undo_ftplugin = "setl cms< com< fo< flp<"
endif

" vim:set sw=2: