annotate runtime/syntax/tar.vim @ 19826:293a22b677a8
v8.2.0469
patch 8.2.0469: Vim9: no error for missing ] after list
Commit: https://github.com/vim/vim/commit/ee619e5bc0992e818f2d9540b093b769b9c27651
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 28 21:38:06 2020 +0100
patch 8.2.0469: Vim9: no error for missing ] after list
Problem: Vim9: no error for missing ] after list.
Solution: Add error message. Add more tests.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 28 Mar 2020 21:45:06 +0100 |
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
|