view runtime/syntax/tt2js.vim @ 32252:f99b85fc18e7 v9.0.1457

patch 9.0.1457: no regression test for what patch 9.0.1333 fixes Commit: https://github.com/vim/vim/commit/ceff9cd1bb194f252c63da8e1c2dc7d6764d9d1f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 16 17:17:37 2023 +0100 patch 9.0.1457: no regression test for what patch 9.0.1333 fixes Problem: No regression test for what patch 9.0.1333 fixes. Solution: Extend existing test to cover the fixed problem. (issue https://github.com/vim/vim/issues/11930)
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Apr 2023 18:30:03 +0200
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"