My config files
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Buddy Sandidge af1e68a7bc Squashed 'vim/bundle/yajs/' content from commit 39deffbae
git-subtree-dir: vim/bundle/yajs
git-subtree-split: 39deffbaef29e40d8c3a9f2c73d64843a4864b2a
10 years ago
data Squashed 'vim/bundle/yajs/' content from commit 39deffbae 10 years ago
syntax Squashed 'vim/bundle/yajs/' content from commit 39deffbae 10 years ago
.gitignore Squashed 'vim/bundle/yajs/' content from commit 39deffbae 10 years ago
CHANGES.markdown Squashed 'vim/bundle/yajs/' content from commit 39deffbae 10 years ago
Makefile Squashed 'vim/bundle/yajs/' content from commit 39deffbae 10 years ago
README.markdown Squashed 'vim/bundle/yajs/' content from commit 39deffbae 10 years ago
config.mk Squashed 'vim/bundle/yajs/' content from commit 39deffbae 10 years ago
package.json Squashed 'vim/bundle/yajs/' content from commit 39deffbae 10 years ago

README.markdown

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

Differences from jelera/vim-javascript-syntax

I start a new project instead of send PR to jelera is because: jelera/vim-javascript-syntax is not so active. And I want to do lots of changes, including ES6 and other not confirmed standard support. Also, one of my goal is produce 100% correct syntax. But it hurt performance, so I prefer to create a new one instead of merge back.

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)

Report Issue

Please send issue report to github. Provde sample code to help me debug.

Changes

Version 1.5

  • Lots of bug Fix
  • Support semantic highlight

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