Mercurial > vim
view runtime/syntax/tar.vim @ 31473:edd37b53405a v9.0.1069
patch 9.0.1069: diff mode highlight fails for special characters
Commit: https://github.com/vim/vim/commit/417e88bb75ee8af1bf696760bba9f114a007f733
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 17 15:03:02 2022 +0000
patch 9.0.1069: diff mode highlight fails for special characters
Problem: Diff mode highlight fails for special characters.
Solution: Adjust condition for setting "diff_hlf".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Dec 2022 16:15:03 +0100 |
parents | 1e9e9d89f0ee |
children |
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 let b:current_syntax = 'tar' " vim: ts=8