Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Aug 30, 2015
Mar 1, 2016

note

I'm using now this setup for months:

Plug 'pangloss/vim-javascript', { 'for': ['javascript', 'javascript.jsx'] }
Plug 'mxw/vim-jsx', { 'for': ['javascript', 'javascript.jsx'] }

and I'm very happy with it.

If I remember correctly the initial necessity for this plugin was some problems with the combination of yajs and the jsx plugin, by using just pangloss JS plugin I'm having no problems at all now and all the new ES stuff just works, including the semicolon-less style.

Yajs was kind of nice on the eyes but was getting slower and slower for me after every update, and the colouring was not much consistent IMHO.

Hope this helps.

vim-js-indent

JavaScript indentation for VIM

This project just hosts the 'indent' part from the (excellent) vim-javascript plugin by Darrick Wiebe (pangloss).

The vim-javascript plugin is not very actively maintained any more and it's lacking all the new JSX/ES6 language features. Most JS developers out there are switching to yajs or vim-javascript-syntax but both of those, even tho they are inspired and/or forked from vim-javascript, lack the indentation that vim-javascript provided.

So here it goes, vim-js-indent providing just this piece of functionality.

Installation is straightforward, just clone it in your ~/.vim/bundle or use any plugin manager out there, like pathogen, vundle, neobundle. There is no need for any make or build steps, just plain clone will do the work.

About

JavaScript indentation for VIM

Resources

License

Releases

No releases published

Packages

No packages published