view runtime/syntax/tt2html.vim @ 18605:63d855ad505c v8.1.2296

patch 8.1.2296: text properties are not combined with syntax by default Commit: https://github.com/vim/vim/commit/58e32ab503141e049c0e8c504a379bff8eddffdd Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 12 22:44:22 2019 +0100 patch 8.1.2296: text properties are not combined with syntax by default Problem: Text properties are not combined with syntax by default. Solution: Make it work as documented. (closes https://github.com/vim/vim/issues/5190)
author Bram Moolenaar <Bram@vim.org>
date Tue, 12 Nov 2019 22:45:06 +0100
parents 42bf9264e64e
children d1fe80fb35e6
line wrap: on
line source

" Language:      TT2 embedded with HTML
" Maintainer:    vim-perl <vim-perl@googlegroups.com>
" Author:        Moriki, Atsushi <4woods+vim@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/html.vim
unlet b:current_syntax

runtime! syntax/tt2.vim
unlet b:current_syntax

syn cluster htmlPreProc add=@tt2_top_cluster

let b:current_syntax = "tt2html"