annotate runtime/syntax/tar.vim @ 23505:bb29b09902d5
v8.2.2295
patch 8.2.2295: incsearch does not detect empty pattern properly
Commit: https://github.com/vim/vim/commit/d93a7fc1a98a58f8101ee780d4735079ad99ae35
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 4 12:42:13 2021 +0100
patch 8.2.2295: incsearch does not detect empty pattern properly
Problem: Incsearch does not detect empty pattern properly.
Solution: Return magic state when skipping over a pattern. (Christian
Brabandt, closes #7612, closes #6420)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 04 Jan 2021 12:45:05 +0100 |
parents |
7472c565592a |
children |
1e9e9d89f0ee |
rev |
line source |
446
|
1 " Language : Tar Listing Syntax
|
|
2 " Maintainer : Bram Moolenaar
|
|
3 " Last change: Sep 08, 2004
|
|
4
|
|
5 if exists("b:current_syntax")
|
|
6 finish
|
|
7 endif
|
|
8
|
|
9 syn match tarComment '^".*' contains=tarFilename
|
|
10 syn match tarFilename 'tarfile \zs.*' contained
|
|
11 syn match tarDirectory '.*/$'
|
|
12
|
|
13 hi def link tarComment Comment
|
|
14 hi def link tarFilename Constant
|
|
15 hi def link tarDirectory Type
|
|
16
|
|
17 " vim: ts=8
|