view runtime/ftplugin/groovy.vim @ 21975:2030f8267db9 v8.2.1537

patch 8.2.1537: memory acccess error when using setcellwidths() Commit: https://github.com/vim/vim/commit/b06a6d59d12dbd67d55b3c46f6e5547e9103c931 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 28 23:27:20 2020 +0200 patch 8.2.1537: memory acccess error when using setcellwidths() Problem: Memory acccess error when using setcellwidths(). Solution: Use array and pointers correctly.
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Aug 2020 23:30:04 +0200
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