Mercurial > vim
view runtime/indent/docbk.vim @ 24416:1754622e1bce v8.2.2748
patch 8.2.2748: Vim9: memory leak when calling :def function fails
Commit: https://github.com/vim/vim/commit/c4297697761230489a025b3e39b992cca845b1b3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 10 20:46:48 2021 +0200
patch 8.2.2748: Vim9: memory leak when calling :def function fails
Problem: Vim9: memory leak when calling :def function fails.
Solution: Jump to failed_early instead of returning.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 10 Apr 2021 21:00:04 +0200 |
parents | 1218c5353e2b |
children |
line wrap: on
line source
" Vim indent file " Language: DocBook Documentation Format " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-04-19 if exists("b:did_indent") finish endif " Same as XML indenting for now. runtime! indent/xml.vim if exists('*XmlIndentGet') setlocal indentexpr=XmlIndentGet(v:lnum,0) endif