Skip to content

sh (posix shell) snippets require $ symbols to be escaped #1381

Open
@seamyb88

Description

@seamyb88

I'm using neovim, if that's important. I'm also only talking about the SnipMate snippets.

The $ symbols which are intended to be inserted into the text need to be escaped in the snippet definitions for sh snippets.

For example in the getopt snippet, the line

echo "Usage : $${0:0} [options] [--]

should be

echo "Usage : \$${0:0} [options] [--]

and even those $ symbols which don't precede a tab stop require this also.

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