mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-14 06:23:50 -05:00
Add syntax files from upstream vim repository
This commit is contained in:
21
syntax/tar.vim
Normal file
21
syntax/tar.vim
Normal file
@@ -0,0 +1,21 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
|
||||
|
||||
" 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
|
||||
|
||||
endif
|
||||
Reference in New Issue
Block a user