view runtime/syntax/tt2js.vim @ 27358:609a8ff1a5d2 v8.2.4207

patch 8.2.4207: recursion test fails with MSVC Commit: https://github.com/vim/vim/commit/50e05254450954f04183efc7bc871527a67868b8 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 24 18:36:39 2022 +0000 patch 8.2.4207: recursion test fails with MSVC Problem: Recursion test fails with MSVC. Solution: Use a smaller limit for MSVC.
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Jan 2022 19:45:03 +0100
parents 42bf9264e64e
children d1fe80fb35e6
line wrap: on
line source

" Language:      TT2 embedded with Javascript
" Maintainer:    Andy Lester <andy@petdance.com>
" Author:        Yates, Peter <pd.yates@gmail.com>
" Homepage:      http://github.com/vim-perl/vim-perl
" Bugs/requests: http://github.com/vim-perl/vim-perl/issues
" Last Change:   2013-07-21

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"