annotate runtime/syntax/bash.vim @ 19772:472dc753e985 v8.2.0442

patch 8.2.0442: channel contents might be used after being freed Commit: https://github.com/vim/vim/commit/71658f74ae64c366b2d35b82c0a2eadb1317f028 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 24 20:35:19 2020 +0100 patch 8.2.0442: channel contents might be used after being freed Problem: Channel contents might be used after being freed. Solution: Reset the job channel before freeing the channel.
author Bram Moolenaar <Bram@vim.org>
date Tue, 24 Mar 2020 20:45:03 +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