File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ syntax match jsSwitchColon contained /:/ skipwhite skipempty nextgro
114114" Keywords
115115syntax keyword jsGlobalObjects Array Boolean Date Function Iterator Number Object Symbol Map WeakMap Set RegExp String Proxy Promise Buffer ParallelArray ArrayBuffer DataView Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray JSON Math console document window Intl Collator DateTimeFormat NumberFormat
116116syntax keyword jsGlobalNodeObjects module exports global process
117- syntax match jsGlobalNodeObjects / require/ contains =jsFuncCall
117+ syntax match jsGlobalNodeObjects / require/ containedin =jsFuncCall
118118syntax keyword jsExceptions Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError
119119syntax keyword jsBuiltins decodeURI decodeURIComponent encodeURI encodeURIComponent eval isFinite isNaN parseFloat parseInt uneval
120120" DISCUSS: How imporant is this, really? Perhaps it should be linked to an error because I assume the keywords are reserved?
You can’t perform that action at this time.
0 commit comments