home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / runtime / dos / ftplugin / markdown.vim < prev    next >
Encoding:
Text File  |  2012-05-31  |  583 b   |  24 lines

  1. " Vim filetype plugin
  2. " Language:        Markdown
  3. " Maintainer:        Tim Pope <vimNOSPAM@tpope.org>
  4. " Last Change:        2011 Dec 14
  5.  
  6. if exists("b:did_ftplugin")
  7.   finish
  8. endif
  9.  
  10. runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
  11. unlet! b:did_ftplugin
  12.  
  13. setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=>\ %s
  14. setlocal formatoptions+=tcqln
  15. setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^[-*+]\\s\\+
  16.  
  17. if exists('b:undo_ftplugin')
  18.   let b:undo_ftplugin .= "|setl cms< com< fo< flp<"
  19. else
  20.   let b:undo_ftplugin = "setl cms< com< fo< flp<"
  21. endif
  22.  
  23. " vim:set sw=2:
  24.