Skip to content

KillerX/vim-javascript-syntax

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 

Repository files navigation

Enhanced Demandware Script Syntax for Vim

Credits

  • Jose Elera Campana (Who created the JS syntax this is based on)
  • 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 repo

This version of this file features the following text highlights:

  • Parenthesis, curly and regular brackets.
  • The semicolon or comma at the end of line.
  • Operation, comparison and logical symbols (=,==,===,!=,etc.).
  • Separate highlight of the arguments. Thanks to Billychan.
  • Highlighting of types when a variable is defined and in function returns and args
  • Highlighting of DW keywords in comments

Installation

  • Using Vundle, add this line to your .vimrc
Plugin 'killerx/vim-javascript-syntax'
  • Using Pathogen, run this command in your shell
git clone https://github.com/killerx/vim-javascript-syntax.git ~/.vim/bundle/vim-javascript-syntax

Contributions

Always welcome

Screenshots

Screenshot

License

The same as Vim

Packages

No packages published

Languages

  • Vim Script 100.0%