annotate runtime/syntax/template.vim @ 24518:cf334a353c30
v8.2.2799
patch 8.2.2799: Vim9: type casts don't fully work at the script level
Commit: https://github.com/vim/vim/commit/459fbdbf9216bc7b4721fc192e08b35039036caa
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 21 17:57:26 2021 +0200
patch 8.2.2799: Vim9: type casts don't fully work at the script level
Problem: Vim9: type casts don't fully work at the script level.
Solution: Implement the missing piece.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 21 Apr 2021 18:00:05 +0200 |
parents |
1eaf34420bb3 |
children |
4027cefc2aab |
rev |
line source |
16610
|
1 " Vim syntax file
|
|
2 " Language: Generic template
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
|
4 " Last Change: 2019 May 06
|
|
5
|
|
6 " Quit when a (custom) syntax file was already loaded
|
|
7 if exists("b:current_syntax")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " Known template types are very similar to HTML, E.g. golang and "Xfire User
|
|
12 " Interface Template"
|
|
13 " If you know how to recognize a more specific type for *.tmpl suggest a
|
|
14 " change to runtime/scripts.vim.
|
|
15 runtime! syntax/html.vim
|