aboutsummaryrefslogtreecommitdiff
path: root/my_snippets
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2019-09-16 23:59:09 +0800
committerjdhao <jdhao@hotmail.com>2019-09-16 23:59:09 +0800
commita28c908c667f113caa059e5933adc8ee65bf9803 (patch)
treefda917e4b00f4e4febb9093b3c52a5c98be6858a /my_snippets
parent6d10ef8378b33fd2cd87a7e081f82e515db8aaec (diff)
Various small update
Diffstat (limited to 'my_snippets')
-rw-r--r--my_snippets/python.snippets4
1 files changed, 4 insertions, 0 deletions
diff --git a/my_snippets/python.snippets b/my_snippets/python.snippets
index e6ecb78..614db46 100644
--- a/my_snippets/python.snippets
+++ b/my_snippets/python.snippets
@@ -12,3 +12,7 @@ snippet print "Print value of some variable"
print("$1".format($2))
$0
endsnippet
+
+snippet impa "import FOO as BAR" b
+import ${1:FOO} as ${2:BAR}
+endsnippet