From 683bb03fe00f6bb9324a205e4d7363909fdfd76c Mon Sep 17 00:00:00 2001 From: Jose Elera Campana Date: Tue, 7 Feb 2012 18:52:31 -0600 Subject: [PATCH] changes the way the new keywords are being highlighted --- syntax/javascript.vim | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/syntax/javascript.vim b/syntax/javascript.vim index 535f11e..bfb16dc 100644 --- a/syntax/javascript.vim +++ b/syntax/javascript.vim @@ -259,23 +259,24 @@ if version >= 508 || !exists("did_javascript_syn_inits") HiLink javaScriptCssStyles Label " Ajax Highlighting - HiLink javaScriptBrowserObjects Constant - HiLink javaScriptDOMObjects Constant - HiLink javaScriptDOMMethods Exception + HiLink javaScriptBrowserObjects htmlString + HiLink javaScriptDOMObjects htmlString + HiLink javaScriptDOMMethods Exception HiLink javaScriptDOMProperties Type - HiLink javaScriptAjaxObjects Type + HiLink javaScriptAjaxObjects htmlH1 HiLink javaScriptAjaxMethods Exception - HiLink javaScriptAjaxProperties Keyword + HiLink javaScriptAjaxProperties Type HiLink javaScriptFuncName Title - HiLink javaScriptHtmlElemProperties Keyword + HiLink javaScriptHtmlElemProperties Boolean HiLink javaScriptEventListenerKeyword Keyword HiLink javaScriptNumber Number - HiLink javaScriptPropietaryObjects Exception + HiLink javaScriptPropietaryObjects Constant + delcommand HiLink endif