Mercurial > vim
annotate runtime/syntax/promela.vim @ 17296:49ef396af986 v8.1.1647
patch 8.1.1647: build error with GTK and hangulinput feature
commit https://github.com/vim/vim/commit/d84b2c3d88b08722dd4f686256a22c26788ea122
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 7 19:16:58 2019 +0200
patch 8.1.1647: build error with GTK and hangulinput feature
Problem: Build error with GTK and hangulinput feature, im_get_status()
defined twice. (Dominique Pelle)
Solution: Adjust im_get_status(). (closes #4628)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jul 2019 19:30:05 +0200 |
parents | 43efa4f5a8ea |
children |
rev | line source |
---|---|
1620 | 1 " Vim syntax file |
1702 | 2 " Language: ProMeLa |
1620 | 3 " Maintainer: Maurizio Tranchero <maurizio.tranchero@polito.it> - <maurizio.tranchero@gmail.com> |
4 " First Release: Mon Oct 16 08:49:46 CEST 2006 | |
1702 | 5 " Last Change: Thu Aug 7 21:22:48 CEST 2008 |
6 " Version: 0.5 | |
1620 | 7 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1702
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:
1702
diff
changeset
|
9 if exists("b:current_syntax") |
1620 | 10 finish |
11 endif | |
12 | |
13 " case is significant | |
14 " syn case ignore | |
15 " ProMeLa Keywords | |
16 syn keyword promelaStatement proctype if else while chan do od fi break goto unless | |
17 syn keyword promelaStatement active assert label atomic | |
18 syn keyword promelaFunctions skip timeout run | |
1702 | 19 syn keyword promelaTodo contained TODO |
1620 | 20 " ProMeLa Types |
21 syn keyword promelaType bit bool byte short int | |
22 " Operators and special characters | |
23 syn match promelaOperator "!" | |
24 syn match promelaOperator "?" | |
25 syn match promelaOperator "->" | |
26 syn match promelaOperator "=" | |
27 syn match promelaOperator "+" | |
28 syn match promelaOperator "*" | |
29 syn match promelaOperator "/" | |
30 syn match promelaOperator "-" | |
31 syn match promelaOperator "<" | |
32 syn match promelaOperator ">" | |
33 syn match promelaOperator "<=" | |
34 syn match promelaOperator ">=" | |
35 syn match promelaSpecial "\[" | |
36 syn match promelaSpecial "\]" | |
37 syn match promelaSpecial ";" | |
38 syn match promelaSpecial "::" | |
1702 | 39 " ProMeLa Comments |
40 syn region promelaComment start="/\*" end="\*/" contains=promelaTodo,@Spell | |
41 syn match promelaComment "//.*" contains=promelaTodo,@Spell | |
1620 | 42 |
43 " Class Linking | |
1702 | 44 hi def link promelaStatement Statement |
45 hi def link promelaType Type | |
46 hi def link promelaComment Comment | |
47 hi def link promelaOperator Type | |
48 hi def link promelaSpecial Special | |
49 hi def link promelaFunctions Special | |
1620 | 50 hi def link promelaString String |
1702 | 51 hi def link promelaTodo Todo |
1620 | 52 |
53 let b:current_syntax = "promela" |