view runtime/syntax/tar.vim @ 5844:8ec9d2196bee v7.4.265

updated for version 7.4.265 Problem: Can't call a global function with "g:" in an expression. Solution: Skip the "g:" when looking up the function.
author Bram Moolenaar <bram@vim.org>
date Thu, 24 Apr 2014 17:12:33 +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