diff --git a/autoload/neosnippet/snippets/liquid.snip b/autoload/neosnippet/snippets/liquid.snip index 1a69959..ea886e0 100644 --- a/autoload/neosnippet/snippets/liquid.snip +++ b/autoload/neosnippet/snippets/liquid.snip @@ -113,5 +113,16 @@ options word snippet gist options word - {% gist ${1:#:TARGET} %} + {% gist `getreg('+')=='' ? '<\`0\`>' : getreg('+')` %} + +snippet template +abbr layout title category +alias --- +options head + --- + layout: ${1} + title: ${2} + category: ${3} + --- + ${0}