summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/tar.vim
blob: 815c2219cb21f0756d2ee881a2affc0b386ad509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
" Language   : Tar Listing Syntax
" Maintainer : Bram Moolenaar
" Last change: Sep 08, 2004

if exists("b:current_syntax")
 finish
endif

syn match tarComment '^".*' contains=tarFilename
syn match tarFilename 'tarfile \zs.*' contained
syn match tarDirectory '.*/$'

hi def link tarComment	Comment
hi def link tarFilename	Constant
hi def link tarDirectory Type

let b:current_syntax = 'tar'

" vim: ts=8