annotate runtime/syntax/template.vim @ 21528:e0aa9b81f6a9
v8.2.1314
patch 8.2.1314: Vim9: rule for comment after :function is confusing
Commit: https://github.com/vim/vim/commit/9898107f54a330c6d9629976250a393169c698ca
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 29 14:40:25 2020 +0200
patch 8.2.1314: Vim9: rule for comment after :function is confusing
Problem: Vim9: rule for comment after :function is confusing.
Solution: Allow double quoted comment after :function in vim9script.
(closes #6556)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 29 Jul 2020 14:45: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
|