annotate runtime/syntax/template.vim @ 19509:17f0d6dc6a73
v8.2.0312
patch 8.2.0312: Vim9: insufficient script tests
Commit: https://github.com/vim/vim/commit/f2d5c240a56853c0bbbc7979e9bff095de6c73ec
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 23 21:25:54 2020 +0100
patch 8.2.0312: Vim9: insufficient script tests
Problem: Vim9: insufficient script tests.
Solution: Add more tests. Make "import * as Name" work.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 23 Feb 2020 21:30:03 +0100 |
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
|