Mercurial > vim
annotate runtime/syntax/cynpp.vim @ 14475:dddba3937532 v8.1.0251
patch 8.1.0251: using full path is not supported for 'backupdir'
commit https://github.com/vim/vim/commit/b782ba475a3f8f2b0be99dda164ba4545347f60f
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 7 21:39:28 2018 +0200
patch 8.1.0251: using full path is not supported for 'backupdir'
Problem: Using a full path is supported for 'directory' but not for
'backupdir'. (Mikolaj Machowski)
Solution: Support 'backupdir' as well. (Christian Brabandt, closes #179)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 07 Aug 2018 21:45:05 +0200 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: Cyn++ | |
3 " Maintainer: Phil Derrick <phild@forteds.com> | |
4 " Last change: 2001 Sep 02 | |
5 " | |
6 " Language Information | |
7 " | |
8 " Cynpp (Cyn++) is a macro language to ease coding in Cynlib. | |
9 " Cynlib is a library of C++ classes to allow hardware | |
10 " modelling in C++. Combined with a simulation kernel, | |
11 " the compiled and linked executable forms a hardware | |
12 " simulation of the described design. | |
13 " | |
14 " Cyn++ is designed to be HDL-like. | |
15 " | |
16 " Further information can be found from www.forteds.com | |
17 | |
18 | |
19 | |
20 | |
21 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
22 " 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
|
23 if exists("b:current_syntax") |
7 | 24 finish |
25 endif | |
26 | |
27 " Read the Cynlib syntax to start with - this includes the C++ syntax | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
28 runtime! syntax/cynlib.vim |
7 | 29 unlet b:current_syntax |
30 | |
31 | |
32 | |
33 " Cyn++ extensions | |
34 | |
35 syn keyword cynppMacro Always EndAlways | |
36 syn keyword cynppMacro Module EndModule | |
37 syn keyword cynppMacro Initial EndInitial | |
38 syn keyword cynppMacro Posedge Negedge Changed | |
39 syn keyword cynppMacro At | |
40 syn keyword cynppMacro Thread EndThread | |
41 syn keyword cynppMacro Instantiate | |
42 | |
43 " Define the default highlighting. | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
44 " Only when an item doesn't have highlighting yet |
7 | 45 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
46 hi def link cLabel Label |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
47 hi def link cynppMacro Statement |
7 | 48 |
49 | |
50 let b:current_syntax = "cynpp" |