diff options
| author | Simeon Simeonov | 2026-07-22 11:10:34 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2026-07-22 11:10:34 +0200 |
| commit | 85601f50f236686da662b1b00e01df0a0abe761b (patch) | |
| tree | ab188e994e2bc569e0f4291c8428e13721245ebe /.emacs.d/snippets/python-mode | |
| parent | 5ae7014a54984c194f103d406f9fbdbafb277885 (diff) | |
Update markdown-mode, rust-mode and yaml-mode. Remove unused snippets
Diffstat (limited to '.emacs.d/snippets/python-mode')
| -rw-r--r-- | .emacs.d/snippets/python-mode/from | 6 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/try | 8 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/with-open | 6 |
3 files changed, 0 insertions, 20 deletions
diff --git a/.emacs.d/snippets/python-mode/from b/.emacs.d/snippets/python-mode/from deleted file mode 100644 index 3a4acfc..0000000 --- a/.emacs.d/snippets/python-mode/from +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: from | ||
| 3 | # key: from | ||
| 4 | # group : general | ||
| 5 | # -- | ||
| 6 | from ${1:lib} import ${2:funs} \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/python-mode/try b/.emacs.d/snippets/python-mode/try deleted file mode 100644 index 6e68e8d..0000000 --- a/.emacs.d/snippets/python-mode/try +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: try | ||
| 3 | # key: try | ||
| 4 | # -- | ||
| 5 | try: | ||
| 6 | $1 | ||
| 7 | except ${2:Exception} as e: | ||
| 8 | $0 \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/python-mode/with-open b/.emacs.d/snippets/python-mode/with-open deleted file mode 100644 index 77c7210..0000000 --- a/.emacs.d/snippets/python-mode/with-open +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: with-open | ||
| 3 | # key: wo | ||
| 4 | # -- | ||
| 5 | with open(${1:"filename"}${2:, encoding="${3:utf-8}"}${4:, mode="${5:w}"}) as ${6:myfile}: | ||
| 6 | $0 \ No newline at end of file | ||
