view runtime/syntax/tar.vim @ 5074:1cacf785299e v7.3.1280

updated for version 7.3.1280 Problem: Reading memory already freed since patch 7.3.1247. (Simon Ruderich, Dominique Pelle) Solution: Copy submatches before reallocating the state list.
author Bram Moolenaar <bram@vim.org>
date Sun, 30 Jun 2013 23:24:08 +0200
parents 7472c565592a
children 1e9e9d89f0ee
line wrap: on
line source

" 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

" vim: ts=8