File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #Javascript Syntax with Ajax support
2+ I use this customized version of Yi Zhao's Javascript syntax file to enhance the readibility of my files.
3+ The keywords included are Ajax methods and properties, Browser and DOM objects.
4+
5+ As this being my first attempt to contribute with the community, I'll take any suggestions to make it better.
6+
7+ Here are some screenshots http://twitpic.com/3ulapw http://twitpic.com/3ula28
8+
9+ For the colorscheme, I use vimscript #3427 (also tweaked by myself). I find it perfect for Web Development
10+
11+ Add these following lines to your favorite colorscheme and choose the colors you like the most
12+ ``` vim
13+ "" Special for Javascript
14+ hi javaScriptBrowserObjects guifg=#DBB6D2 ctermfg=182 gui=italic
15+
16+ hi javaScriptDOMObjects guifg=#DBB6D2 gui=BOLD
17+ hi javaScriptDOMMethods guifg=#D4FA9B ctermfg=192
18+ hi link javaScriptDOMProperties Keyword
19+
20+ hi javaScriptAjaxObjects guifg=#5d91d3 gui=underline
21+ hi javaScriptAjaxMethods guifg=#6699CC ctermfg=68
22+ hi javaScriptAjaxProperties guifg=#FF9494 ctermfg=210
23+
24+ hi javaScriptFuncName guifg=#B5E4F7 ctermfg=153
25+ hi javaScriptHtmlElemProperties guifg=#FF9494 ctermfg=210
26+ hi javaScriptEventListenerKeyword guifg=#6699CC ctermfg=68
27+ ```
You can’t perform that action at this time.
0 commit comments