Giter VIP home page Giter VIP logo

yajs.vim's Introduction

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)

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

yajs.vim's People

Contributors

bigjason avatar billychan avatar bluekeys avatar delapouite avatar jelera avatar ohcibi avatar othree avatar rschmukler avatar sleepycat avatar unc0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.