annotate runtime/syntax/bash.vim @ 30092:53e7e912eeec
v9.0.0382
patch 9.0.0382: freeing the wrong string on failure
Commit: https://github.com/vim/vim/commit/31ea6bf530a814991f669122dbc9921117a862c3
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 5 10:47:13 2022 +0100
patch 9.0.0382: freeing the wrong string on failure
Problem: Freeing the wrong string on failure.
Solution: Adjust the argument. Reorder the code.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 05 Sep 2022 12:00:06 +0200 |
parents |
03b854983b14 |
children |
71cbad0921c9 |
rev |
line source |
18186
|
1 " Vim syntax file
|
|
2 " Language: bash
|
|
3 " Maintainer: Bram
|
|
4 " Last Change: 2019 Sep 27
|
|
5
|
|
6 " quit when a syntax file was already loaded
|
|
7 if exists("b:current_syntax")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " The actual syntax 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! syntax/sh.vim
|
|
17
|
|
18 let b:current_syntax = 'bash'
|
|
19
|
|
20 " vim: ts=8
|