view runtime/ftplugin/markdown.vim @ 4297:aca1886102bd v7.3.898

updated for version 7.3.898 Problem: Memory leak reported by valgrind in test 91. Solution: Only use default argument when needed.
author Bram Moolenaar <bram@vim.org>
date Mon, 15 Apr 2013 15:15:35 +0200
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: