Skip to content

Commit b4517ac

Browse files
author
Andrés Rodríguez
committed
Add fetch keyword to list of globals
Closes pangloss#688.
1 parent 2d33a9e commit b4517ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: syntax/javascript.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ syntax keyword jsAsyncKeyword async await
112112
syntax match jsSwitchColon contained /:/ skipwhite skipempty nextgroup=jsSwitchBlock
113113

114114
" Keywords
115-
syntax 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
115+
syntax 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 fetch
116116
syntax keyword jsGlobalNodeObjects module exports global process
117117
syntax match jsGlobalNodeObjects /require/ containedin=jsFuncCall
118118
syntax keyword jsExceptions Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError

0 commit comments

Comments
 (0)