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

formatting of bigint incorrect #150

Open
wehrv opened this issue Mar 8, 2019 · 1 comment
Open

formatting of bigint incorrect #150

wehrv opened this issue Mar 8, 2019 · 1 comment

Comments

@wehrv
Copy link

wehrv commented Mar 8, 2019

When formatting a javascript bigint, such as '1n', the result is incorrectly changed to '1 n', breaking functional code.

@maksimr
Copy link
Owner

maksimr commented Mar 8, 2019

@BillyHarvey try to install the custom(new) version of js-beautify and use it in editorconfig config instead bundled version

[**.js]
; path to optional external js beautifier, default is vim-jsbeautify/plugin/lib
path=~/.vim/bundle/js-beautify/js/lib/beautify.js
; Javascript interpreter to be invoked by default 'node'
bin=node
indent_style = space
indent_size = 4

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

No branches or pull requests

2 participants