annotate runtime/syntax/json.vim @ 31616:0eb51cec2154 v9.0.1140

patch 9.0.1140: cannot call an object method in a compiled function Commit: https://github.com/vim/vim/commit/574950dfb1d353f094463b709e39544ebf8fcdcd Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 3 19:08:50 2023 +0000 patch 9.0.1140: cannot call an object method in a compiled function Problem: Cannot call an object method in a compiled function. Solution: Compile the instructins to invoke an object method.
author Bram Moolenaar <Bram@vim.org>
date Tue, 03 Jan 2023 20:15:03 +0100
parents 1e5672da6a69
children f8185637a051
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6070
32a77cc160d9 Update runtime files. Make matchparen plugin backwards compatible.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
2 " Language: JSON
17372
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
3 " Maintainer: vacancy
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
4 " Previous Maintainer: Eli Parra <eli@elzr.com>
18130
1e5672da6a69 Updte runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17372
diff changeset
5 " Last Change: 2019 Sep 17
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
6 " Version: 0.12
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
7
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
8 if !exists("main_syntax")
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6159
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: 6159
diff changeset
10 if exists("b:current_syntax")
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
11 finish
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
12 endif
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
13 let main_syntax = 'json'
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
14 endif
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
15
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
16 syntax match jsonNoise /\%(:\|,\)/
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
17
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
18 " NOTE that for the concealing to work your conceallevel should be set to 2
6070
32a77cc160d9 Update runtime files. Make matchparen plugin backwards compatible.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19
17372
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
20 " Syntax: JSON Keywords
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
21 " Separated into a match and region because a region by itself is always greedy
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
22 syn match jsonKeywordMatch /"\([^"]\|\\\"\)\+"[[:blank:]\r\n]*\:/ contains=jsonKeyword
18130
1e5672da6a69 Updte runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17372
diff changeset
23 if has('conceal') && (!exists("g:vim_json_conceal") || g:vim_json_conceal==1)
17372
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
24 syn region jsonKeyword matchgroup=jsonQuote start=/"/ end=/"\ze[[:blank:]\r\n]*\:/ concealends contained
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
25 else
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
26 syn region jsonKeyword matchgroup=jsonQuote start=/"/ end=/"\ze[[:blank:]\r\n]*\:/ contained
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
27 endif
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
28
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
29 " Syntax: Strings
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
30 " Separated into a match and region because a region by itself is always greedy
17372
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
31 " Needs to come after keywords or else a json encoded string will break the
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
32 " syntax
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
33 syn match jsonStringMatch /"\([^"]\|\\\"\)\+"\ze[[:blank:]\r\n]*[,}\]]/ contains=jsonString
18130
1e5672da6a69 Updte runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17372
diff changeset
34 if has('conceal') && (!exists("g:vim_json_conceal") || g:vim_json_conceal==1)
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
35 syn region jsonString oneline matchgroup=jsonQuote start=/"/ skip=/\\\\\|\\"/ end=/"/ concealends contains=jsonEscape contained
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
36 else
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
37 syn region jsonString oneline matchgroup=jsonQuote start=/"/ skip=/\\\\\|\\"/ end=/"/ contains=jsonEscape contained
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
38 endif
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
39
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
40 " Syntax: JSON does not allow strings with single quotes, unlike JavaScript.
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
41 syn region jsonStringSQError oneline start=+'+ skip=+\\\\\|\\"+ end=+'+
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
42
6070
32a77cc160d9 Update runtime files. Make matchparen plugin backwards compatible.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
44 " Syntax: Escape sequences
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
45 syn match jsonEscape "\\["\\/bfnrt]" contained
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
46 syn match jsonEscape "\\u\x\{4}" contained
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
47
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
48 " Syntax: Numbers
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
49 syn match jsonNumber "-\=\<\%(0\|[1-9]\d*\)\%(\.\d\+\)\=\%([eE][-+]\=\d\+\)\=\>\ze[[:blank:]\r\n]*[,}\]]"
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
50
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
51 " ERROR WARNINGS **********************************************
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
52 if (!exists("g:vim_json_warnings") || g:vim_json_warnings==1)
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
53 " Syntax: Strings should always be enclosed with quotes.
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
54 syn match jsonNoQuotesError "\<[[:alpha:]][[:alnum:]]*\>"
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
55 syn match jsonTripleQuotesError /"""/
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
56
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
57 " Syntax: An integer part of 0 followed by other digits is not allowed.
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
58 syn match jsonNumError "-\=\<0\d\.\d*\>"
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
59
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
60 " Syntax: Decimals smaller than one should begin with 0 (so .1 should be 0.1).
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
61 syn match jsonNumError "\:\@<=[[:blank:]\r\n]*\zs\.\d\+"
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
62
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
63 " Syntax: No comments in JSON, see http://stackoverflow.com/questions/244777/can-i-comment-a-json-file
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
64 syn match jsonCommentError "//.*"
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
65 syn match jsonCommentError "\(/\*\)\|\(\*/\)"
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
66
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
67 " Syntax: No semicolons in JSON
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
68 syn match jsonSemicolonError ";"
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
69
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
70 " Syntax: No trailing comma after the last element of arrays or objects
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
71 syn match jsonTrailingCommaError ",\_s*[}\]]"
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
72
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
73 " Syntax: Watch out for missing commas between elements
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
74 syn match jsonMissingCommaError /\("\|\]\|\d\)\zs\_s\+\ze"/
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
75 syn match jsonMissingCommaError /\(\]\|\}\)\_s\+\ze"/ "arrays/objects as values
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
76 syn match jsonMissingCommaError /}\_s\+\ze{/ "objects as elements in an array
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
77 syn match jsonMissingCommaError /\(true\|false\)\_s\+\ze"/ "true/false as value
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
78 endif
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
79
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
80 " ********************************************** END OF ERROR WARNINGS
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
81 " Allowances for JSONP: function call at the beginning of the file,
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
82 " parenthesis and semicolon at the end.
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
83 " Function name validation based on
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
84 " http://stackoverflow.com/questions/2008279/validate-a-javascript-function-name/2008444#2008444
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
85 syn match jsonPadding "\%^[[:blank:]\r\n]*[_$[:alpha:]][_$[:alnum:]]*[[:blank:]\r\n]*("
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
86 syn match jsonPadding ");[[:blank:]\r\n]*\%$"
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
87
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
88 " Syntax: Boolean
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
89 syn match jsonBoolean /\(true\|false\)\(\_s\+\ze"\)\@!/
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
90
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
91 " Syntax: Null
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
92 syn keyword jsonNull null
6070
32a77cc160d9 Update runtime files. Make matchparen plugin backwards compatible.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
93
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
94 " Syntax: Braces
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
95 syn region jsonFold matchgroup=jsonBraces start="{" end=/}\(\_s\+\ze\("\|{\)\)\@!/ transparent fold
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
96 syn region jsonFold matchgroup=jsonBraces start="\[" end=/]\(\_s\+\ze"\)\@!/ transparent fold
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
97
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
98 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6159
diff changeset
99 " Only when an item doesn't have highlighting yet
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
100 hi def link jsonPadding Operator
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
101 hi def link jsonString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
102 hi def link jsonTest Label
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
103 hi def link jsonEscape Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
104 hi def link jsonNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
105 hi def link jsonBraces Delimiter
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
106 hi def link jsonNull Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
107 hi def link jsonBoolean Boolean
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
108 hi def link jsonKeyword Label
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
109
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6159
diff changeset
110 if (!exists("g:vim_json_warnings") || g:vim_json_warnings==1)
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
111 hi def link jsonNumError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
112 hi def link jsonCommentError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
113 hi def link jsonSemicolonError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
114 hi def link jsonTrailingCommaError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
115 hi def link jsonMissingCommaError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
116 hi def link jsonStringSQError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
117 hi def link jsonNoQuotesError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
118 hi def link jsonTripleQuotesError Error
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
119 endif
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
120 hi def link jsonQuote Quote
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
121 hi def link jsonNoise Noise
6159
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
122
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
123 let b:current_syntax = "json"
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
124 if main_syntax == 'json'
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
125 unlet main_syntax
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
126 endif
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
127
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
128 " Vim settings
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
129 " vim: ts=8 fdm=marker
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
130
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
131 " MIT License
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
132 " Copyright (c) 2013, Jeroen Ruigrok van der Werven, Eli Parra
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
133 "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
134 "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
135 "THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
babc6a1d4c27 Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 6070
diff changeset
136 "See https://twitter.com/elzr/status/294964017926119424