annotate runtime/syntax/tar.vim @ 18580:4ac042c8ed98
v8.1.2284
patch 8.1.2284: compiler warning for unused variable
Commit: https://github.com/vim/vim/commit/439b3aca373a1fc661f20154eba340045bbe8454
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 10 01:32:12 2019 +0100
patch 8.1.2284: compiler warning for unused variable
Problem: Compiler warning for unused variable. (Tony Mechelynck)
Solution: Add #ifdef.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 10 Nov 2019 01:45:03 +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
|