annotate runtime/syntax/tar.vim @ 23515:8cce160b9183 v8.2.2300

patch 8.2.2300: Vim9: wrong order on type stack when using dict Commit: https://github.com/vim/vim/commit/d62d87d8f3f337a25b7da72abf55fc8a4bb6100c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 4 17:40:12 2021 +0100 patch 8.2.2300: Vim9: wrong order on type stack when using dict Problem: Vim9: wrong order on type stack when using dict. Solution: Generate constants before a dict. (closes https://github.com/vim/vim/issues/7619)
author Bram Moolenaar <Bram@vim.org>
date Mon, 04 Jan 2021 17:45:03 +0100
parents 7472c565592a
children 1e9e9d89f0ee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
446
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
1 " Language : Tar Listing Syntax
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
2 " Maintainer : Bram Moolenaar
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
3 " Last change: Sep 08, 2004
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
4
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
5 if exists("b:current_syntax")
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
6 finish
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
7 endif
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
8
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
9 syn match tarComment '^".*' contains=tarFilename
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
10 syn match tarFilename 'tarfile \zs.*' contained
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
11 syn match tarDirectory '.*/$'
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
12
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
13 hi def link tarComment Comment
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
14 hi def link tarFilename Constant
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
15 hi def link tarDirectory Type
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
16
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
17 " vim: ts=8