view runtime/syntax/bash.vim @ 31439:735de21c5ce7 v9.0.1052

patch 9.0.1052: using freed memory on exit when EXITFREE is defined Commit: https://github.com/vim/vim/commit/692fe0889c44d97c4a1cc822bc8de189859c51cb Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 13 13:42:37 2022 +0000 patch 9.0.1052: using freed memory on exit when EXITFREE is defined Problem: Using freed memory on exit when EXITFREE is defined. Solution: Make a deep copy of the type. Make sure TTFLAG_STATIC is not set in the copy.
author Bram Moolenaar <Bram@vim.org>
date Tue, 13 Dec 2022 14:45:05 +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