annotate runtime/syntax/tar.vim @ 25400:5c7192180b89
v8.2.3237
patch 8.2.3237: when a builtin function gives an error processing continues
Commit: https://github.com/vim/vim/commit/327d3ee4557027b51aad86e68743a85ed3a6f52b
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 28 19:34:14 2021 +0200
patch 8.2.3237: when a builtin function gives an error processing continues
Problem: When a builtin function gives an error processing continues.
Solution: In Vim9 script return FAIL in get_func_tv().
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 28 Jul 2021 19:45:04 +0200 |
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
|