# -*- mode: snippet; require-final-newline: nil -*- # name: import # key: imp # -- {% import "${1:module}" as ${1:$(if (string-match "/\\\\([^/]*\\\\)$" yas-text) (match-string 1 yas-text) yas-text)} %}