Mercurial > vim
view runtime/compiler/gjs.vim @ 30863:b4b51e01dd36 v9.0.0766
patch 9.0.0766: too many delete() calls in tests
Commit: https://github.com/vim/vim/commit/0e9bdad545e8e75b23c40e44cc6ec51330f5b465
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 15 20:06:33 2022 +0100
patch 9.0.0766: too many delete() calls in tests
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Oct 2022 21:15:03 +0200 |
parents | 0db0640e16e0 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: GJS (Gnome JavaScript Bindings) " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2019 Jul 10 if exists("current_compiler") finish endif let current_compiler = "gjs" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo&vim CompilerSet makeprg=gjs CompilerSet errorformat=%.%#JS\ %tRROR:\ %m\ @\ %f:%c, \%E%.%#JS\ ERROR:\ %m, \%Z@%f:%l:%c, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save