-
Notifications
You must be signed in to change notification settings - Fork 68
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
.editorconfig for typescript #143
Comments
@esanzgar now plugin supports only 'js', 'css', 'html', 'jsx', 'json' types. Does js-beautify support typescript? Thanks! |
@esanzgar try to rename
|
In general, js-beautify works pretty well with typescript. I found just a couple of corner cases were js-beautify doesn't format typescript correctly. Renaming all Thank you anyway. |
@esanzgar No problem, I have checked it for typescript and it works for me P.S. I have used |
I have
but still it doesn't pick up the .editorconfig rules under |
@maksimr You are right, it works for typescript files when the .editorconfig is explicitly set. My issue was that the .editorconfig is found and parsed through the I have resolved the issue with this simple if statement: |
@esanzgar Thanks |
Two questions:
I use jsbeautify from typescript files. In my .vimrc, I have:
autocmd FileType typescript vnoremap <buffer> <c-f> :call RangeJsBeautify()<cr>
How can I setup my .editorconfig for typescript? These rules are ignored for typescript files in my .editorconfig:
Thanks
The text was updated successfully, but these errors were encountered: