Mercurial > vim
view runtime/compiler/dartdoc.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 | d4c7b3e9cd17 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Dart Documentation Generator " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2019 May 08 if exists("current_compiler") finish endif let current_compiler = "dartdoc" 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=dartdoc CompilerSet errorformat=\ \ %tarning:\ %m, \\ \ %trror:\ %m, \%+EGeneration\ failed:\ %m, \%+ISuccess!\ Docs\ generated\ into\ %f, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save