Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

add some useful highlight for javascript in vim #209

Merged
merged 1 commit into from

4 participants

@raffy2010

javascriptNull: null undefined
javascriptGlobal: self window top parent
javascriptStatement: return with

@pixelblend

Please merge this in, the lack of colouring on return in particular was driving me mad.

@chriskempson chriskempson merged commit 83a20a3 into from
@pixelblend

Hooray! Thanks :)

@chriskempson
Owner

Sorry for the delay.

@Stealthii

Will this be applied to the other colorschemes?

@raffy2010

@Stealthii do you mean this change will have impact on other colorschemes like solaris?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 11, 2013
  1. @raffy2010
This page is out of date. Refresh to see the latest.
View
3  vim/colors/Tomorrow-Night-Blue.vim
@@ -330,6 +330,9 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256
call <SID>X("javaScriptRepeat", s:purple, "", "")
call <SID>X("javaScriptNumber", s:orange, "", "")
call <SID>X("javaScriptMember", s:orange, "", "")
+ call <SID>X("javascriptNull", s:orange, "", "")
+ call <SID>X("javascriptGlobal", s:blue, "", "")
+ call <SID>X("javascriptStatement", s:red, "", "")
" HTML Highlighting
call <SID>X("htmlTag", s:red, "", "")
View
3  vim/colors/Tomorrow-Night-Bright.vim
@@ -330,6 +330,9 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256
call <SID>X("javaScriptRepeat", s:purple, "", "")
call <SID>X("javaScriptNumber", s:orange, "", "")
call <SID>X("javaScriptMember", s:orange, "", "")
+ call <SID>X("javascriptNull", s:orange, "", "")
+ call <SID>X("javascriptGlobal", s:blue, "", "")
+ call <SID>X("javascriptStatement", s:red, "", "")
" HTML Highlighting
call <SID>X("htmlTag", s:red, "", "")
View
3  vim/colors/Tomorrow-Night-Eighties.vim
@@ -330,6 +330,9 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256
call <SID>X("javaScriptRepeat", s:purple, "", "")
call <SID>X("javaScriptNumber", s:orange, "", "")
call <SID>X("javaScriptMember", s:orange, "", "")
+ call <SID>X("javascriptNull", s:orange, "", "")
+ call <SID>X("javascriptGlobal", s:blue, "", "")
+ call <SID>X("javascriptStatement", s:red, "", "")
" HTML Highlighting
call <SID>X("htmlTag", s:red, "", "")
View
3  vim/colors/Tomorrow-Night.vim
@@ -340,6 +340,9 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256
call <SID>X("javaScriptRepeat", s:purple, "", "")
call <SID>X("javaScriptNumber", s:orange, "", "")
call <SID>X("javaScriptMember", s:orange, "", "")
+ call <SID>X("javascriptNull", s:orange, "", "")
+ call <SID>X("javascriptGlobal", s:blue, "", "")
+ call <SID>X("javascriptStatement", s:red, "", "")
" HTML Highlighting
call <SID>X("htmlTag", s:red, "", "")
View
3  vim/colors/Tomorrow.vim
@@ -331,6 +331,9 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256
call <SID>X("javaScriptRepeat", s:purple, "", "")
call <SID>X("javaScriptNumber", s:orange, "", "")
call <SID>X("javaScriptMember", s:orange, "", "")
+ call <SID>X("javascriptNull", s:orange, "", "")
+ call <SID>X("javascriptGlobal", s:blue, "", "")
+ call <SID>X("javascriptStatement", s:red, "", "")
" HTML Highlighting
call <SID>X("htmlTag", s:red, "", "")
Something went wrong with that request. Please try again.