Skip to content

archr/yajs.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

287 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAJS: Yet Another JavaScript Syntax

Yet Another JavaScript Syntax file for Vim. Key differences:

  • Use 'javascript' as group name's prefix, not 'javaScript' nor 'JavaScript'. Works great with SyntaxComplete.
  • Recognize Web API and DOM keywords. Keep increase.
  • Works perfect with javascript-libraries-syntax.vim
  • Remove old, unused syntax definitions.
  • Support ES6 new syntax, ex: arrow function =>.

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)

Changes

Version 1.4

  • Better Array Comprehesion support
  • Better Template highlight
  • AngularJS JSDoc module
  • Fix object literal syntax
  • Don't break vim-jsx

License

The same as Vim

About

YAJS.vim: Yet Another JavaScript Syntax for Vim

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Vim Script 85.1%
  • Makefile 10.9%
  • JavaScript 3.5%
  • Shell 0.5%