annotate runtime/indent/bash.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 |
03b854983b14 |
children |
71cbad0921c9 |
rev |
line source |
18186
|
1 " Vim indent file
|
|
2 " Language: bash
|
|
3 " Maintainer: Bram
|
|
4 " Last Change: 2019 Sep 27
|
|
5
|
|
6 " Only load this indent file when no other was loaded.
|
|
7 if exists("b:did_indent")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " The actual indenting is in sh.vim and controlled by buffer-local variables.
|
|
12 unlet! b:is_sh
|
|
13 unlet! b:is_kornshell
|
|
14 let b:is_bash = 1
|
|
15
|
|
16 runtime! indent/sh.vim
|
|
17
|
|
18 " vim: ts=8
|