Jose Elera Campana f9287b1816 some changes in README
2012-01-17 18:58:35 -06:00
2012-01-17 18:58:35 -06:00

#Javascript Syntax with Ajax support ###Description I use this customized version of Yi Zhao's Javascript syntax file to enhance the readibility of my files. The keywords included are Ajax methods and properties, Browser and DOM objects.

As this being my first attempt to contribute with the community, I'll take any suggestions to make it better.

###Screenshots Here are some screenshots before after. I'm using Nazca Colorscheme.

For the colorscheme, I use vimscript#3427 (also tweaked by myself). I find it perfect for Web Development

Customization

You can add these following lines to your favorite colorscheme (solarized, molokai, railcasts, etc) and choose the colors you like the most

"" Special for Javascript 
hi javaScriptBrowserObjects       guifg=#DBB6D2 ctermfg=182   gui=italic 

hi javaScriptDOMObjects           guifg=#DBB6D2 gui=BOLD 
hi javaScriptDOMMethods           guifg=#D4FA9B ctermfg=192 
hi link javaScriptDOMProperties   Keyword 

hi javaScriptAjaxObjects          guifg=#5d91d3 gui=underline 
hi javaScriptAjaxMethods          guifg=#6699CC ctermfg=68 
hi javaScriptAjaxProperties       guifg=#FF9494 ctermfg=210 

hi javaScriptFuncName             guifg=#B5E4F7 ctermfg=153 
hi javaScriptHtmlElemProperties   guifg=#FF9494 ctermfg=210 
hi javaScriptEventListenerKeyword guifg=#6699CC ctermfg=68 
Description
Enhanced javascript syntax file for Vim
Readme MIT 220 KiB
Languages
Vim Script 100%