Skip to content

Commit 683bb03

Browse files
committed
changes the way the new keywords are being highlighted
1 parent 55ea589 commit 683bb03

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

syntax/javascript.vim

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -259,23 +259,24 @@ if version >= 508 || !exists("did_javascript_syn_inits")
259259
HiLink javaScriptCssStyles Label
260260

261261
" Ajax Highlighting
262-
HiLink javaScriptBrowserObjects Constant
263-
HiLink javaScriptDOMObjects Constant
264-
HiLink javaScriptDOMMethods Exception
262+
HiLink javaScriptBrowserObjects htmlString
265263

264+
HiLink javaScriptDOMObjects htmlString
265+
HiLink javaScriptDOMMethods Exception
266266
HiLink javaScriptDOMProperties Type
267267

268-
HiLink javaScriptAjaxObjects Type
268+
HiLink javaScriptAjaxObjects htmlH1
269269
HiLink javaScriptAjaxMethods Exception
270-
HiLink javaScriptAjaxProperties Keyword
270+
HiLink javaScriptAjaxProperties Type
271271

272272
HiLink javaScriptFuncName Title
273273

274-
HiLink javaScriptHtmlElemProperties Keyword
274+
HiLink javaScriptHtmlElemProperties Boolean
275275
HiLink javaScriptEventListenerKeyword Keyword
276276

277277
HiLink javaScriptNumber Number
278-
HiLink javaScriptPropietaryObjects Exception
278+
HiLink javaScriptPropietaryObjects Constant
279+
279280
delcommand HiLink
280281
endif
281282

0 commit comments

Comments
 (0)