view runtime/syntax/tt2js.vim @ 10192:758f3d5a463d v7.4.2365

commit https://github.com/vim/vim/commit/1b010058235fb803c1d4f42a02d2883921be8ef4 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 12 12:24:11 2016 +0200 patch 7.4.2365 Problem: Needless line break. Confusing directory name. Solution: Remove line break. Prepend "../" to "tools".
author Christian Brabandt <cb@256bit.org>
date Mon, 12 Sep 2016 12:30:10 +0200
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"