Skip to content

Use javascript indent #107

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

Merged
merged 5 commits into from
Mar 2, 2017
Merged

Use javascript indent #107

merged 5 commits into from
Mar 2, 2017

Conversation

leafgarland
Copy link
Owner

Update the indent script to use the indent script from pangloss/vim-javascript.

The indent script from pangloss/vim-javascript should work fine
for most of our requirements.

fix #97, fix #101, fix #103, fix #105
We don't want to clash with the javascript plugin, so change them to
use typescript names.
When loading the indent script, check to see if we should not bother.

fix #104
The indent script is almost entirely their work. Also describe
how to set indentkeys and disable indentation for .foo() lines.
@leafgarland leafgarland force-pushed the use-javascript-indent branch from 9adf4fe to d539ff4 Compare February 14, 2017 09:36
@leafgarland
Copy link
Owner Author

@RavenCrow @JamieChoi @CodeOneTwo

Take a look at this PR, let me know if it works for you. Thanks!

@JuanLucha
Copy link

I copied the content of the indentation file on this pr to my typescript.vim/indent/typescript.vim file and it works like a charm!

@leafgarland
Copy link
Owner Author

Good to know. Will merge tomorrow. Thanks for testing.

@leafgarland leafgarland merged commit 48f9203 into master Mar 2, 2017
@leafgarland leafgarland deleted the use-javascript-indent branch March 2, 2017 01:02
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

Successfully merging this pull request may close these issues.

2 participants