Mercurial > vim
view runtime/syntax/tar.vim @ 8995:3cf6704d6efc v7.4.1783
commit https://github.com/vim/vim/commit/af98a49dd0ef1661b4998f118151fddbf6e4df75
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 24 14:40:12 2016 +0200
patch 7.4.1783
Problem: The old regexp engine doesn't handle character classes correctly.
(Manuel Ortega)
Solution: Use regmbc() instead of regc(). Add a test.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Apr 2016 14:45:04 +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