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

Snippets are not indented correctly after insertion #9

Open
manasthakur opened this issue May 15, 2017 · 6 comments
Open

Snippets are not indented correctly after insertion #9

manasthakur opened this issue May 15, 2017 · 6 comments

Comments

@manasthakur
Copy link

I read about the plugin on r/vim and I like the minimalism. There is an issue though.

Suppose I created the following snippet in a file _java_if:

if ({{++}}) {
    {{++}}
}

Now when I expand the snippet in a java file, only the first line (if...) is indented properly. The rest of the text starts from the beginning of the line, which is unexpected.

Am I missing something?

@joereynolds
Copy link

This seems to happen to me too :(

image

@manasthakur
Copy link
Author

@LemonBoy's PR seems to solve the issue for me. However, seeing the time since it's pending, it seems @keyboardfire is busy now-a-days.

@joereynolds
Copy link

joereynolds commented Jun 13, 2017

Yep same, I've forked and merged all backwards compatible PR's so far.
It's a shame that the PR's haven't been accepted (yet) :(

@joereynolds
Copy link

For anyone else reading, I have a fork which fixes this (and a few other) bug.

@partounian
Copy link

Hey @joereynolds, thanks for your work! I suggest you make a new issue mentioning you have merged in new PRs/are maintaining this.

@joereynolds
Copy link

@partounian consider it done

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

3 participants