groovy.vim 415 B

123456789101112131415161718192021
  1. " Vim filetype plugin file
  2. " Language: groovy
  3. " Maintainer: Justin M. Keyes <justinkz@gmail.com>
  4. " Last Change: 2016 May 22
  5. " 2024 May 24 by Riley Bruins <ribru17@gmail.com> ('commentstring')
  6. if exists('b:did_ftplugin')
  7. finish
  8. endif
  9. let b:did_ftplugin = 1
  10. let s:cpo_save = &cpo
  11. set cpo-=C
  12. let b:undo_ftplugin = 'setlocal commentstring<'
  13. setlocal commentstring=//\ %s
  14. let &cpo = s:cpo_save
  15. unlet s:cpo_save