Mercurial > vim
annotate runtime/syntax/exports.vim @ 28606:893af4a8fc08 v8.2.4827
patch 8.2.4827: typo in variable name
Commit: https://github.com/vim/vim/commit/87f74106f96737e7b8ceaafe1a131aa718077de6
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 25 18:59:25 2022 +0100
patch 8.2.4827: typo in variable name
Problem: Typo in variable name. (Gabriel Dupras)
Solution: Rename the variable.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Apr 2022 20:00:04 +0200 |
parents | 8edf0aeb71b9 |
children | 02bd0fe77c68 |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: exports | |
19180 | 3 " Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM> |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
4 " Last Change: Aug 31, 2016 |
19180 | 5 " Version: 8 |
7 | 6 " Notes: This file includes both SysV and BSD 'isms |
6479 | 7 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_EXPORTS |
7 | 8 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
6479
diff
changeset
|
9 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
6479
diff
changeset
|
10 if exists("b:current_syntax") |
7 | 11 finish |
12 endif | |
13 | |
14 " Options: -word | |
15 syn keyword exportsKeyOptions contained alldirs nohide ro wsync | |
16 syn keyword exportsKeyOptions contained kerb o rw | |
17 syn match exportsOptError contained "[a-z]\+" | |
18 | |
19 " Settings: word= | |
20 syn keyword exportsKeySettings contained access anon root rw | |
21 syn match exportsSetError contained "[a-z]\+" | |
22 | |
23 " OptSet: -word= | |
24 syn keyword exportsKeyOptSet contained mapall maproot mask network | |
25 syn match exportsOptSetError contained "[a-z]\+" | |
26 | |
27 " options and settings | |
28 syn match exportsSettings "[a-z]\+=" contains=exportsKeySettings,exportsSetError | |
29 syn match exportsOptions "-[a-z]\+" contains=exportsKeyOptions,exportsOptError | |
30 syn match exportsOptSet "-[a-z]\+=" contains=exportsKeyOptSet,exportsOptSetError | |
31 | |
32 " Separators | |
33 syn match exportsSeparator "[,:]" | |
34 | |
35 " comments | |
36 syn match exportsComment "^\s*#.*$" contains=@Spell | |
37 | |
38 " Define the default highlighting. | |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
39 if !exists("skip_exports_syntax_inits") |
7 | 40 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
41 hi def link exportsKeyOptSet exportsKeySettings |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
42 hi def link exportsOptSet exportsSettings |
7 | 43 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
44 hi def link exportsComment Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
45 hi def link exportsKeyOptions Type |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
46 hi def link exportsKeySettings Keyword |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
47 hi def link exportsOptions Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
48 hi def link exportsSeparator Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
49 hi def link exportsSettings Constant |
7 | 50 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
51 hi def link exportsOptError Error |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
52 hi def link exportsOptSetError Error |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
53 hi def link exportsSetError Error |
7 | 54 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
55 endif |
7 | 56 |
57 let b:current_syntax = "exports" | |
58 " vim: ts=10 |