summaryrefslogtreecommitdiff
path: root/snippets/python-mode/parameter-item
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-03-24 22:34:08 -0400
committerKyle Meyer <kyle@kyleam.com>2014-03-24 22:36:14 -0400
commitd3499573ef817ce737f924f4641dade14e6233fd (patch)
tree17ff349949f1665b2722b784c0e59f59b46fe126 /snippets/python-mode/parameter-item
parent306b196734c23c9554ff0f541d564705cc8cf2db (diff)
downloademacs.d-d3499573ef817ce737f924f4641dade14e6233fd.tar.gz
Break down NumPy yasnippets
Make individual snippets for the parameters and returns headings.
Diffstat (limited to 'snippets/python-mode/parameter-item')
-rw-r--r--snippets/python-mode/parameter-item7
1 files changed, 7 insertions, 0 deletions
diff --git a/snippets/python-mode/parameter-item b/snippets/python-mode/parameter-item
new file mode 100644
index 0000000..296059f
--- /dev/null
+++ b/snippets/python-mode/parameter-item
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: parameter item
+# key: par
+# expand-env: ((yas-indent-line 'fixed))
+# --
+${1:param} : ${2:type}
+ $0