diff options
| author | Simeon Simeonov | 2015-02-04 21:41:42 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2015-02-04 21:41:42 +0100 |
| commit | 897eee81de8b3f6adf0165f50e95600a7b89c20c (patch) | |
| tree | 5ee19c07c40e822e15a6443e5db5601c28913454 /.emacs.d/snippets/python-mode/arg | |
| parent | 9a46567eb167e5aef4b2e760c5d6bdc4fe1ba06a (diff) | |
Standalone lisp and snippet repo
Diffstat (limited to '.emacs.d/snippets/python-mode/arg')
| -rw-r--r-- | .emacs.d/snippets/python-mode/arg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode/arg b/.emacs.d/snippets/python-mode/arg new file mode 100644 index 0000000..f5145ec --- /dev/null +++ b/.emacs.d/snippets/python-mode/arg | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: arg | ||
| 3 | # key: arg | ||
| 4 | # group: argparser | ||
| 5 | # -- | ||
| 6 | parser.add_argument('-$1', '--$2', | ||
| 7 | $0) | ||
