annotate runtime/syntax/bash.vim @ 19726:ad37a198a708 v8.2.0419

patch 8.2.0419: various memory leaks in Vim9 script code Commit: https://github.com/vim/vim/commit/20431c9dbb592ebe0666bf042af7d2b373107372 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 20 18:39:46 2020 +0100 patch 8.2.0419: various memory leaks in Vim9 script code Problem: Various memory leaks in Vim9 script code. Solution: Fix the leaks. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/5814)
author Bram Moolenaar <Bram@vim.org>
date Fri, 20 Mar 2020 18:45:04 +0100
parents 03b854983b14
children 71cbad0921c9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18186
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: bash
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Bram
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2019 Sep 27
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " quit when a syntax file was already loaded
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 if exists("b:current_syntax")
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 finish
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 endif
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 " The actual syntax is in sh.vim and controlled by buffer-local variables.
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 unlet! b:is_sh
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 unlet! b:is_kornshell
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 let b:is_bash = 1
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 runtime! syntax/sh.vim
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 let b:current_syntax = 'bash'
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 " vim: ts=8