Skip to content
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

call RangeJsBeautify() insert new line when .editorconfig: insert_final_newline=true #117

Open
sabakugaara opened this issue Mar 28, 2016 · 3 comments
Labels

Comments

@sabakugaara
Copy link

if .editorconfig insert_final_newline=true, call RangeJsBeautify() will insert a new line after vim selected range

@sabakugaara sabakugaara changed the title call RangeJsBeautify() insert new line when .editorconfig insert_final_newline=true call RangeJsBeautify() insert new line when .editorconfig: insert_final_newline=true Mar 28, 2016
@maksimr maksimr added the bug label Mar 28, 2016
@maksimr
Copy link
Owner

maksimr commented Mar 28, 2016

@sabakugaara thx

@nerdpad
Copy link

nerdpad commented Dec 12, 2016

Maybe a way to override the global jsbeautify setting while calling the RangeJsBeautify function to solve this?

@maksimr
Copy link
Owner

maksimr commented Dec 12, 2016

@nerdpad I think we cuold delete(or rewrite on false) insert_final_newline if end of the range does not equal last line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants