Mercurial > vim
annotate runtime/syntax/dylanlid.vim @ 16545:7a563ee902b6 v8.1.1276
patch 8.1.1276: cannot combine text properties with syntax highlighting
commit https://github.com/vim/vim/commit/de24a8701328b1cce7cad0ee11b415369b482420
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 5 15:48:00 2019 +0200
patch 8.1.1276: cannot combine text properties with syntax highlighting
Problem: Cannot combine text properties with syntax highlighting.
Solution: Add the "combine" field to prop_type_add(). (closes https://github.com/vim/vim/issues/4343)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 May 2019 16:00:05 +0200 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: Dylan Library Interface Files | |
3 " Authors: Justus Pendleton <justus@acm.org> | |
4 " Brent Fulgham <bfulgham@debian.org> | |
5 " Last Change: Fri Sep 29 13:50:20 PDT 2000 | |
6 " | |
7 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
8 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
9 if exists("b:current_syntax") |
7 | 10 finish |
11 endif | |
12 | |
13 syn case ignore | |
14 | |
15 syn region dylanlidInfo matchgroup=Statement start="^" end=":" oneline | |
16 syn region dylanlidEntry matchgroup=Statement start=":%" end="$" oneline | |
17 | |
18 syn sync lines=50 | |
19 | |
20 " Define the default highlighting. | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
21 " Only when an item doesn't have highlighting yet |
7 | 22 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
23 hi def link dylanlidInfo Type |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
24 hi def link dylanlidEntry String |
7 | 25 |
26 | |
27 let b:current_syntax = "dylanlid" | |
28 | |
29 " vim:ts=8 |