view runtime/syntax/tt2js.vim @ 31622:1102f4777518 v9.0.1143

patch 9.0.1143: invalid memory access with bad 'statusline' value Commit: https://github.com/vim/vim/commit/7b17eb4b063a234376c1ec909ee293e42cff290c Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 4 14:31:49 2023 +0000 patch 9.0.1143: invalid memory access with bad 'statusline' value Problem: Invalid memory access with bad 'statusline' value. Solution: Avoid going over the NUL at the end.
author Bram Moolenaar <Bram@vim.org>
date Wed, 04 Jan 2023 15:45:05 +0100
parents d1fe80fb35e6
children
line wrap: on
line source

" Vim syntax file
" Language:      TT2 embedded with Javascript
" Maintainer:    Andy Lester <andy@petdance.com>
" Author:        Yates, Peter <pd.yates@gmail.com>
" Homepage:      https://github.com/vim-perl/vim-perl
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
" License:       Vim License (see :help license)
" Last Change:   2018 Mar 28

if exists("b:current_syntax")
    finish
endif

runtime! syntax/javascript.vim
unlet b:current_syntax

runtime! syntax/tt2.vim
unlet b:current_syntax

syn cluster javascriptPreProc add=@tt2_top_cluster

let b:current_syntax = "tt2js"