mirror of
https://github.com/jelera/vim-javascript-syntax.git
synced 2025-12-08 21:54:52 +08:00
removed customization section on README, the script includes hilink to preset keywords
This commit is contained in:
@@ -5,29 +5,3 @@ 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.
|
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](http://twitpic.com/3ulapw) [after](http://twitpic.com/3ula28). I'm using
|
|
||||||
[Nazca Colorscheme](https://github.com/jelera/vim-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
|
|
||||||
|
|
||||||
```vim
|
|
||||||
"" 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
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user