annotate runtime/syntax/template.vim @ 28652:27dcbe70e1f0 v8.2.4850

patch 8.2.4850: mksession mixes up "tabpages" and "curdir" arguments Commit: https://github.com/vim/vim/commit/d7c9564d8d24343f2e27205633032dd6ebe5232c Author: LemonBoy <thatlemon@gmail.com> Date: Sat Apr 30 16:10:27 2022 +0100 patch 8.2.4850: mksession mixes up "tabpages" and "curdir" arguments Problem: Mksession mixes up "tabpages" and "curdir" arguments. Solution: Correct logic for storing tabpage in session. (closes https://github.com/vim/vim/issues/10312)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Apr 2022 17:15:02 +0200
parents 1eaf34420bb3
children 4027cefc2aab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16610
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Generic template
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2019 May 06
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " Quit when a (custom) syntax file was already loaded
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 if exists("b:current_syntax")
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 finish
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 endif
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 " Known template types are very similar to HTML, E.g. golang and "Xfire User
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 " Interface Template"
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 " If you know how to recognize a more specific type for *.tmpl suggest a
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 " change to runtime/scripts.vim.
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 runtime! syntax/html.vim