view runtime/ftplugin/groovy.vim @ 31069:39698292a849 v9.0.0869

patch 9.0.0869: bogus error when string used after :elseif Commit: https://github.com/vim/vim/commit/28c56d501352bd98472d23667bade683877cadcc Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 12 23:12:55 2022 +0000 patch 9.0.0869: bogus error when string used after :elseif Problem: Bogus error when string used after :elseif. Solution: Do not consider a double quote the start of a comment. (closes #11534)
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Nov 2022 00:15:03 +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