Skip to content
This repository was archived by the owner on Mar 5, 2020. It is now read-only.
This repository was archived by the owner on Mar 5, 2020. It is now read-only.

g:minisnip_finalstartdelim conflicts with Go templates #45

@arp242

Description

@arp242

The syntax for Go templates is:

{{.Variable}}

You can control leading and trailing whitespace by adding -:

{{- .Variable}}
{{.Variable -}}
{{- .Variable -}}

That last variant conflicts with minisnip's g:minisnip_finalstartdelim, which is rather annoying.

I know this variable can be changed, but it seems to me that using a better default would be, well, better. Something like {{|- should be much more unique.

On the other hand, changing this would break compatibility for people with existing templates :-/

Not sure what the best course of action it. Either way, I thought I'd report it here.

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