rpl.vim 620 B

1234567891011121314151617181920212223
  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. " Only do this when not done yet for this buffer
  7. if exists("b:did_ftplugin")
  8. finish
  9. endif
  10. " Don't load another plugin for this buffer
  11. let b:did_ftplugin = 1
  12. " Set 'formatoptions' to break comment lines but not other lines,
  13. " and insert the comment leader when hitting <CR> or using "o".
  14. setlocal fo-=t fo+=croql
  15. " Set 'comments' to format dashed lists in comments.
  16. setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
  17. let b:undo_ftplugin = "setlocal fo< comments<"