annotate runtime/syntax/tar.vim @ 24518:cf334a353c30
v8.2.2799
patch 8.2.2799: Vim9: type casts don't fully work at the script level
Commit: https://github.com/vim/vim/commit/459fbdbf9216bc7b4721fc192e08b35039036caa
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 21 17:57:26 2021 +0200
patch 8.2.2799: Vim9: type casts don't fully work at the script level
Problem: Vim9: type casts don't fully work at the script level.
Solution: Implement the missing piece.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 21 Apr 2021 18:00:05 +0200 |
parents |
7472c565592a |
children |
1e9e9d89f0ee |
rev |
line source |
446
|
1 " Language : Tar Listing Syntax
|
|
2 " Maintainer : Bram Moolenaar
|
|
3 " Last change: Sep 08, 2004
|
|
4
|
|
5 if exists("b:current_syntax")
|
|
6 finish
|
|
7 endif
|
|
8
|
|
9 syn match tarComment '^".*' contains=tarFilename
|
|
10 syn match tarFilename 'tarfile \zs.*' contained
|
|
11 syn match tarDirectory '.*/$'
|
|
12
|
|
13 hi def link tarComment Comment
|
|
14 hi def link tarFilename Constant
|
|
15 hi def link tarDirectory Type
|
|
16
|
|
17 " vim: ts=8
|