diff --git a/README.md b/README.md index bcba9b9..d446a9f 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ your cursor ends up after typing an abbreviation: - `{{!` => `{{!_}}` - `{{>` => `{{>_}}` - `{{<` => `{{<_}}` + - `{{-` => `{{- _ -}}` - `{{#` produces ``` diff --git a/ftplugin/mustache.vim b/ftplugin/mustache.vim index 61b5896..d6211b9 100644 --- a/ftplugin/mustache.vim +++ b/ftplugin/mustache.vim @@ -30,6 +30,7 @@ if exists("g:mustache_abbreviations") inoremap {{# {{#}}{{/}} inoremap {{if {{#if }}{{/if}} inoremap {{ife {{#if }}{{else}}{{/if}} + inoremap {{- {{- -}} endif