We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed6a363 commit 539dd14Copy full SHA for 539dd14
syntax/javascript.vim
@@ -174,7 +174,7 @@ syntax match javaScriptFuncArg "\(([^()]*)\)" contains=javaScriptParen
174
syntax match javaScriptFuncComma /,/ contained
175
syntax match javaScriptFuncEq /=/ contained
176
syntax region javaScriptFuncDef start="\<function\>" end="\([^)]*\)" contains=javaScriptFuncKeyword,javaScriptFuncArg keepend
177
-syntax match javaScriptObjectKey /\<[a-zA-Z_$][0-9a-zA-Z_$]*\>\(\s*:\)\@=/ contains=jsFunctionKey
+syntax match javaScriptObjectKey /\<[a-zA-Z_$][0-9a-zA-Z_$]*\>\(\s*:\)\@=/ contains=javaScriptFunctionKey
178
syntax match javaScriptFunctionKey /\<[a-zA-Z_$][0-9a-zA-Z_$]*\>\(\s*:\s*function\s*\)\@=/ contained
179
"}}}
180
" Braces, Parens, symbols, colons {{{
0 commit comments