Skip to content

Commit 97583d7

Browse files
committed
Not highlighting object keys like keywords, STUPID
1 parent a599ac8 commit 97583d7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

syntax/javascript.vim

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ syntax region javaScriptRegexpCharClass start=+\[+ end=+\]+ contained
7878
syntax region javaScriptRegexpString start=+\(\(\(return\|case\)\s\+\)\@<=\|\(\([)\]"']\|\d\|\w\)\s*\)\@<!\)/\(\*\|/\)\@!+ skip=+\\\\\|\\/+ end=+/[gimy]\{,4}+ contains=javaScriptSpecial,javaScriptRegexpCharClass,@htmlPreproc oneline
7979
syntax match javaScriptNumber /\<-\=\d\+L\=\>\|\<0[xX]\x\+\>/
8080
syntax match javaScriptFloat /\<-\=\%(\d\+\.\d\+\|\d\+\.\|\.\d\+\)\%([eE][+-]\=\d\+\)\=\>/
81-
syntax match javaScriptLabel /\<\w\+\(\s*:\)\@=/
8281

8382
"" JavaScript Prototype
8483
syntax keyword javaScriptPrototype prototype
@@ -228,7 +227,6 @@ if version >= 508 || !exists("did_javascript_syn_inits")
228227
HiLink javaScriptNumber Number
229228
HiLink javaScriptFloat Number
230229
HiLink javaScriptBoolean Boolean
231-
HiLink javaScriptLabel Label
232230
HiLink javaScriptSpecial Special
233231
HiLink javaScriptSource Special
234232
HiLink javaScriptGlobalObjects Special

0 commit comments

Comments
 (0)