Mercurial > vim
annotate runtime/syntax/htmlcheetah.vim @ 24637:4a4f64cdc798 v8.2.2857
patch 8.2.2857: Vim9: exception in ISN_INSTR caught at wrong level
Commit: https://github.com/vim/vim/commit/ff65288aa89dcd50760ad942d58baff70c6e93e6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 16 15:24:49 2021 +0200
patch 8.2.2857: Vim9: exception in ISN_INSTR caught at wrong level
Problem: Vim9: exception in ISN_INSTR caught at wrong level.
Solution: Set the starting trylevel in exec_instructions(). (closes https://github.com/vim/vim/issues/8214)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 May 2021 15:30:03 +0200 |
parents | 43efa4f5a8ea |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: HTML with Cheetah tags | |
3 " Maintainer: Max Ischenko <mfi@ukr.net> | |
4 " Last Change: 2003-05-11 | |
5 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
6 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
7 if exists("b:current_syntax") |
7 | 8 finish |
9 endif | |
10 | |
11 if !exists("main_syntax") | |
12 let main_syntax = 'html' | |
13 endif | |
14 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
15 runtime! syntax/cheetah.vim |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
16 runtime! syntax/html.vim |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
17 unlet b:current_syntax |
7 | 18 |
19 syntax cluster htmlPreproc add=cheetahPlaceHolder | |
20 syntax cluster htmlString add=cheetahPlaceHolder | |
21 | |
22 let b:current_syntax = "htmlcheetah" | |
23 | |
24 |