Skip to content

suguru/vim-javascript-syntax

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 

Repository files navigation

Enhanced Javascript Syntax for Vim

Credits

  • Jose Elera, Enhanced Javascript syntax
  • Zhao Yi, Claudio Fleiner, Scott Shattuck (This file is based on their hard work)
  • gumnos (From the #vim IRC Channel in Freenode) (Who helped me figured out the crazy Vim Regexes)

Description

This file is a fork of this file and the stock one

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.).

To enable code folding add the following to your .vimrc.

au FileType javascript call JavaScriptFold()

TODO

You can help me improve it too.

  • The separate highlight of the arguments
  • Add new stuff from new specs

Changes

Version 0.8

Screenshots

This is the stock Javascript syntax file Stock Vim Javascript syntax file

This is with the Enhanced Syntax file Enhanced Javascript Vim syntax

License

The same as Vim

About

Enhanced javascript syntax file for Vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Vim Script 100.0%