view runtime/ftplugin/groovy.vim @ 19348:b6da81589f8c v8.2.0232

patch 8.2.0232: the :compiler command causes a crash Commit: https://github.com/vim/vim/commit/165315584d6587e287f54d6c8820e050114b5694 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 8 16:00:46 2020 +0100 patch 8.2.0232: the :compiler command causes a crash Problem: The :compiler command causes a crash. (Daniel Steinberg) Solution: Do not use the script index if it isn't set.
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Feb 2020 16:15:04 +0100
parents bc38030aec7d
children 7c7432a53a6c
line wrap: on
line source

" Vim filetype plugin file
" Language:	groovy
" Maintainer:	Justin M. Keyes <justinkz@gmail.com>
" Last Change:	2016 May 22

if exists('b:did_ftplugin')
  finish
endif
let b:did_ftplugin = 1

let s:cpo_save = &cpo
set cpo-=C

let b:undo_ftplugin = 'setlocal commentstring<'

setlocal commentstring=//%s

let &cpo = s:cpo_save
unlet s:cpo_save