Skip to content

Multiple { { brackets have spaces between them #240

@PezCoder

Description

@PezCoder
<span>Hello, {{ name }}</span> 

this is a popular notation across the templating engines to inject variables inside html which have multiple curly braces.

This has happened for me multiple times that i try to wrap a variable around 2 curly braces & end up spending more time removing the space between them.

For example:

<span>hello, name</span>

> with cursor on name: ysiw{

<span>hello, { name }</span>

> I goto name again using: w & repeat with .(dot) and gets this

<span> hello, { { name } }</span>
Notice the spaces between brackets.. 

Would be great if this can be fixed in the library itself but if you think the use case is very specific, a workaround would really help me out..

Thank you all for working on this plugin, this really saves time.

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