From 23ce1eab419ac2001d61b2b22dd1889ca9214127 Mon Sep 17 00:00:00 2001 From: crazymaster Date: Sat, 17 Aug 2013 01:55:50 +0900 Subject: [PATCH] Improve liquid snippet --- autoload/neosnippet/snippets/liquid.snip | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/autoload/neosnippet/snippets/liquid.snip b/autoload/neosnippet/snippets/liquid.snip index 87de33a..1a69959 100644 --- a/autoload/neosnippet/snippets/liquid.snip +++ b/autoload/neosnippet/snippets/liquid.snip @@ -77,12 +77,18 @@ snippet include options word {% include ${1:#:TARGET} %} -snippet block +snippet output abbr {{ }} alias {{ options word {{ ${1:#:TARGET} }} +snippet filter +abbr {{ | }} +alias {{ +options word + {{ ${1:#:TARGET} | ${2:#:filter} }} + # Jekyll enhancements @@ -105,3 +111,7 @@ snippet post_url options word {% post_url ${1:#:TARGET} %} +snippet gist +options word + {% gist ${1:#:TARGET} %} +