neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

tt2js.vim (592B)


      1 " Vim syntax file
      2 " Language:      TT2 embedded with Javascript
      3 " Maintainer:    Andy Lester <andy@petdance.com>
      4 " Author:        Yates, Peter <pd.yates@gmail.com>
      5 " Homepage:      https://github.com/vim-perl/vim-perl
      6 " Bugs/requests: https://github.com/vim-perl/vim-perl/issues
      7 " License:       Vim License (see :help license)
      8 " Last Change:   2018 Mar 28
      9 
     10 if exists("b:current_syntax")
     11    finish
     12 endif
     13 
     14 runtime! syntax/javascript.vim
     15 unlet b:current_syntax
     16 
     17 runtime! syntax/tt2.vim
     18 unlet b:current_syntax
     19 
     20 syn cluster javascriptPreProc add=@tt2_top_cluster
     21 
     22 let b:current_syntax = "tt2js"