Mercurial > vim
view runtime/indent/mail.vim @ 20283:934657e365e5 v8.2.0697
patch 8.2.0697: Vim9: memory leak when using nested function
Commit: https://github.com/vim/vim/commit/221fcc741a6660bfc3fd0d64937d0c15bb71f51d
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 5 19:46:20 2020 +0200
patch 8.2.0697: Vim9: memory leak when using nested function
Problem: Vim9: memory leak when using nested function.
Solution: Unreference function when deleting instructions. Adjust reference
count for local variables.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 05 May 2020 20:00:04 +0200 |
parents | 7bc41231fbc7 |
children | 9c221ad9634a |
line wrap: on
line source
" Vim indent file " Language: Mail " Maintainer: Bram Moolenaar " Last Change: 2009 Jun 03 if exists("b:did_indent") finish endif let b:did_indent = 1 " What works best is auto-indenting, disable other indenting. " For formatting see the ftplugin. setlocal autoindent nosmartindent nocindent indentexpr=