view runtime/syntax/bash.vim @ 31475:9ef91bdd1ab4 v9.0.1070

patch 9.0.1070: reading beyond array size Commit: https://github.com/vim/vim/commit/b26461715be41653e5982e72c794294702ecded9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 17 15:35:43 2022 +0000 patch 9.0.1070: reading beyond array size Problem: Reading beyond array size. Solution: Only use name[0] and name[1], do not use "name" as a string.
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Dec 2022 16:45:03 +0100
parents 03b854983b14
children 71cbad0921c9
line wrap: on
line source

" Vim syntax file
" Language:	bash
" Maintainer:	Bram
" Last Change:	2019 Sep 27

" quit when a syntax file was already loaded
if exists("b:current_syntax")
  finish
endif

" The actual syntax is in sh.vim and controlled by buffer-local variables.
unlet! b:is_sh
unlet! b:is_kornshell
let b:is_bash = 1

runtime! syntax/sh.vim

let b:current_syntax = 'bash'

" vim: ts=8