Mercurial > vim
annotate runtime/syntax/mmp.vim @ 23448:8f31b990ab1e v8.2.2267
patch 8.2.2267: Vim9: cannot use unlet for a dict member
Commit: https://github.com/vim/vim/commit/c368957b1904bfaa2b0b52bbcade51b20173f3ed
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 1 19:40:02 2021 +0100
patch 8.2.2267: Vim9: cannot use unlet for a dict member
Problem: Vim9: cannot use unlet for a dict member.
Solution: Pass GLV_NO_DECL to get_lval(). (closes https://github.com/vim/vim/issues/7585)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 Jan 2021 19:45:03 +0100 |
parents | 43efa4f5a8ea |
children |
rev | line source |
---|---|
1620 | 1 " Vim syntax file |
2 " Language: Symbian meta-makefile definition (MMP) | |
3 " Maintainer: Ron Aaron <ron@ronware.org> | |
4 " Last Change: 2007/11/07 | |
5 " URL: http://ronware.org/wiki/vim/mmp | |
6 " Filetypes: *.mmp | |
7 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
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:
1620
diff
changeset
|
9 if exists("b:current_syntax") |
1620 | 10 finish |
11 endif | |
12 | |
13 syn case ignore | |
14 | |
15 syn match mmpComment "//.*" | |
16 syn region mmpComment start="/\*" end="\*\/" | |
17 | |
18 syn keyword mmpKeyword aif asspabi assplibrary aaspexports baseaddress | |
19 syn keyword mmpKeyword debuglibrary deffile document epocheapsize | |
20 syn keyword mmpKeyword epocprocesspriority epocstacksize exportunfrozen | |
21 syn keyword mmpStorage lang library linkas macro nostrictdef option | |
22 syn keyword mmpStorage resource source sourcepath srcdbg startbitmap | |
23 syn keyword mmpStorage start end staticlibrary strictdepend systeminclude | |
24 syn keyword mmpStorage systemresource target targettype targetpath uid | |
25 syn keyword mmpStorage userinclude win32_library | |
26 | |
27 syn match mmpIfdef "\#\(include\|ifdef\|ifndef\|if\|endif\|else\|elif\)" | |
28 | |
29 syn match mmpNumber "\d+" | |
30 syn match mmpNumber "0x\x\+" | |
31 | |
32 | |
33 " Define the default highlighting. | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
34 " Only when an item doesn't have highlighting yet |
1620 | 35 if !exists("did_mmp_syntax_inits") |
36 let did_mmp_syntax_inits=1 | |
37 | |
38 hi def link mmpComment Comment | |
39 hi def link mmpKeyword Keyword | |
40 hi def link mmpStorage StorageClass | |
41 hi def link mmpString String | |
42 hi def link mmpNumber Number | |
43 hi def link mmpOrdinal Operator | |
44 hi def link mmpIfdef PreCondit | |
45 endif | |
46 | |
47 let b:current_syntax = "mmp" | |
48 | |
49 " vim: ts=8 |