view runtime/syntax/tt2html.vim @ 31616:0eb51cec2154 v9.0.1140

patch 9.0.1140: cannot call an object method in a compiled function Commit: https://github.com/vim/vim/commit/574950dfb1d353f094463b709e39544ebf8fcdcd Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 3 19:08:50 2023 +0000 patch 9.0.1140: cannot call an object method in a compiled function Problem: Cannot call an object method in a compiled function. Solution: Compile the instructins to invoke an object method.
author Bram Moolenaar <Bram@vim.org>
date Tue, 03 Jan 2023 20:15:03 +0100
parents d1fe80fb35e6
children
line wrap: on
line source

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