New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add esformatter_autosave option #3

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@dannytranlx

dannytranlx commented Dec 11, 2015

I just switched to ESFormatter and I usually like to have my formatter run automagically on save, so I don't have to think about it. The esformatter_autosave flag to enable it to call :Esformatter on save.

@millermedeiros

This comment has been minimized.

Show comment
Hide comment
@millermedeiros

millermedeiros Apr 29, 2016

Owner

sorry for overlooking this, will merge this soon!

PS: need to update https://github.com/millermedeiros/vim-esformatter/blob/master/doc/esformatter.txt

Owner

millermedeiros commented Apr 29, 2016

sorry for overlooking this, will merge this soon!

PS: need to update https://github.com/millermedeiros/vim-esformatter/blob/master/doc/esformatter.txt

@dannytranlx

This comment has been minimized.

Show comment
Hide comment
@dannytranlx

dannytranlx Apr 29, 2016

I'll need to double check again, it's been giving me trouble by auto formatting on not Javascript files. Don't merge yet 😂

dannytranlx commented Apr 29, 2016

I'll need to double check again, it's been giving me trouble by auto formatting on not Javascript files. Don't merge yet 😂

@dannytranlx

This comment has been minimized.

Show comment
Hide comment
@dannytranlx

dannytranlx Sep 26, 2018

2 years later...

I was tired of seeing this PR in my PR list. Here's the fix, simply needed <buffer> to be replaced by *.js,*.jsx,*.mjs 😅

Hopefully, it's helpful! I actually got used to running :Esformatter manually and now the team has transition to vim-prettier.

dannytranlx commented Sep 26, 2018

2 years later...

I was tired of seeing this PR in my PR list. Here's the fix, simply needed <buffer> to be replaced by *.js,*.jsx,*.mjs 😅

Hopefully, it's helpful! I actually got used to running :Esformatter manually and now the team has transition to vim-prettier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment