annotate runtime/syntax/template.vim @ 23274:10bbff53d3d1
v8.2.2183
patch 8.2.2183: Vim9: value of 'edcompatible' and 'gdefault' are used
Commit: https://github.com/vim/vim/commit/60f63100b9bc1d24b7b80c81f43cf2fc3da95987
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 21 20:32:43 2020 +0100
patch 8.2.2183: Vim9: value of 'edcompatible' and 'gdefault' are used
Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
Solution: Ignore these deprecated options in Vim9 script. (closes https://github.com/vim/vim/issues/7508)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 21 Dec 2020 20:45:05 +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
|