annotate runtime/syntax/tar.vim @ 10757:6c3d42d18366 v8.0.0268

patch 8.0.0268: may get ml_get error when :luado deletes lines commit https://github.com/vim/vim/commit/d58f03b1c21b5b0242718f89da53ddd67b1eff6b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 29 22:48:45 2017 +0100 patch 8.0.0268: may get ml_get error when :luado deletes lines Problem: May get ml_get error when :luado deletes lines or switches to another buffer. (Nikolai Pavlov, issue https://github.com/vim/vim/issues/1421) Solution: Check the buffer and line every time.
author Christian Brabandt <cb@256bit.org>
date Sun, 29 Jan 2017 23:00:04 +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