diff options
Diffstat (limited to '.emacs.d/snippets/python-mode/list')
| -rw-r--r-- | .emacs.d/snippets/python-mode/list | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode/list b/.emacs.d/snippets/python-mode/list new file mode 100644 index 0000000..63cef24 --- /dev/null +++ b/.emacs.d/snippets/python-mode/list | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: list | ||
| 3 | # key: li | ||
| 4 | # group : definitions | ||
| 5 | # -- | ||
| 6 | [${1:el} for $1 in ${2:list}] | ||
| 7 | $0 \ No newline at end of file | ||
