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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
446
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
1 " Language : Tar Listing Syntax
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
2 " Maintainer : Bram Moolenaar
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
3 " Last change: Sep 08, 2004
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
4
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
5 if exists("b:current_syntax")
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
6 finish
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
7 endif
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
8
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
9 syn match tarComment '^".*' contains=tarFilename
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
10 syn match tarFilename 'tarfile \zs.*' contained
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
11 syn match tarDirectory '.*/$'
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
12
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
13 hi def link tarComment Comment
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
14 hi def link tarFilename Constant
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
15 hi def link tarDirectory Type
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
16
7472c565592a updated for version 7.0117
vimboss
parents:
diff changeset
17 " vim: ts=8