mirror of
https://github.com/jelera/vim-javascript-syntax.git
synced 2026-01-25 12:27:04 +08:00
added some screenshots
This commit is contained in:
@@ -1,6 +1,31 @@
|
|||||||
#Javascript Syntax with Ajax support
|
#Enhanced Javascript Syntax for Vim
|
||||||
|
|
||||||
###Description
|
###Description
|
||||||
I use this customized version of Yi Zhao's Javascript syntax file to enhance the readibility of my files.
|
This file is a fork of [this file](http://www.vim.org/scripts/script.php?script_id=1491) and [the stock one](http://fleiner.com/vim/download.html)
|
||||||
The keywords included are Ajax methods and properties, Browser and DOM objects.
|
|
||||||
|
This version of this file features the following text highlights:
|
||||||
|
|
||||||
|
- Parenthesis, curly and regular brackets.
|
||||||
|
- The semicolon or comma at the end of line.
|
||||||
|
- Browser, DOM and "Ajax" keywords like objects, methods, properties and others.
|
||||||
|
- Operation, comparison and logical symbols (`=`,`==`,`===`,`!=`,etc.).
|
||||||
|
|
||||||
|
###TODO
|
||||||
|
You can help me improve it too.
|
||||||
|
|
||||||
|
- The separate highlight of the arguments
|
||||||
|
- I know this is a syntax file, but having an autocompletion file.
|
||||||
|
- Add keywords for the popular third-party libraries like jQuery, YUI, Prototype, etc.
|
||||||
|
|
||||||
|
###Screenshots
|
||||||
|
This is the stock Javascript syntax file
|
||||||
|

|
||||||
|
|
||||||
|
This is with the Enhanced Syntax file
|
||||||
|

|
||||||
|
|
||||||
|
###License
|
||||||
|
The same as Vim
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user