view runtime/syntax/tar.vim @ 24893:1d6242cf1163 v8.2.2984

patch 8.2.2984: Vim9: test fails because of missing return statement Commit: https://github.com/vim/vim/commit/e6174fd58d459722847c76f8c5aa1b08a49c3e0d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 12 18:30:56 2021 +0200 patch 8.2.2984: Vim9: test fails because of missing return statement Problem: Vim9: Test fails because of missing return statement. Solution: When type is unknown set type to void.
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Jun 2021 18:45:03 +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