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 / rpl.vim < prev    next >
Encoding:
Text File  |  2012-05-31  |  642 b   |  23 lines

  1. " Vim filetype plugin file
  2. " Language:     RPL/2
  3. " Maintainer:   Joδl BERTRAND <rpl2@free.fr>
  4. " Last Change:    2012 Mar 07
  5. " Version:         0.1
  6.  
  7. " Only do this when not done yet for this buffer
  8. if exists("b:did_ftplugin")
  9.   finish
  10. endif
  11.  
  12. " Don't load another plugin for this buffer
  13. let b:did_ftplugin = 1
  14.  
  15. " Set 'formatoptions' to break comment lines but not other lines,
  16. " and insert the comment leader when hitting <CR> or using "o".
  17. setlocal fo-=t fo+=croql
  18.  
  19. " Set 'comments' to format dashed lists in comments.
  20. setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
  21.  
  22. let b:undo_ftplugin = "setlocal fo< comments<"
  23.