Skip to content

Snippets are not indented correctly after insertion #9

@manasthakur

Description

@manasthakur

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions