neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

groovy.vim (415B)


      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 
      7 if exists('b:did_ftplugin')
      8  finish
      9 endif
     10 let b:did_ftplugin = 1
     11 
     12 let s:cpo_save = &cpo
     13 set cpo-=C
     14 
     15 let b:undo_ftplugin = 'setlocal commentstring<'
     16 
     17 setlocal commentstring=//\ %s
     18 
     19 let &cpo = s:cpo_save
     20 unlet s:cpo_save