diff options
Diffstat (limited to '.emacs.d/snippets')
| -rw-r--r-- | .emacs.d/snippets/python-mode.statnett/__repr__ | 7 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode.statnett/__str__ | 7 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode.statnett/function_docstring | 1 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/__repr__ | 7 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/__str__ | 7 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/function_docstring | 1 |
6 files changed, 0 insertions, 30 deletions
diff --git a/.emacs.d/snippets/python-mode.statnett/__repr__ b/.emacs.d/snippets/python-mode.statnett/__repr__ deleted file mode 100644 index 85cb80f..0000000 --- a/.emacs.d/snippets/python-mode.statnett/__repr__ +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: __repr__ | ||
| 3 | # key: _repr | ||
| 4 | # group: Special methods | ||
| 5 | # -- | ||
| 6 | def __repr__(self): | ||
| 7 | return $0 | ||
diff --git a/.emacs.d/snippets/python-mode.statnett/__str__ b/.emacs.d/snippets/python-mode.statnett/__str__ deleted file mode 100644 index f623df7..0000000 --- a/.emacs.d/snippets/python-mode.statnett/__str__ +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: __str__ | ||
| 3 | # key: _str | ||
| 4 | # group: Special methods | ||
| 5 | # -- | ||
| 6 | def __str__(self): | ||
| 7 | return $0 | ||
diff --git a/.emacs.d/snippets/python-mode.statnett/function_docstring b/.emacs.d/snippets/python-mode.statnett/function_docstring index 685eaf5..1f7f35b 100644 --- a/.emacs.d/snippets/python-mode.statnett/function_docstring +++ b/.emacs.d/snippets/python-mode.statnett/function_docstring | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | # name: function_docstring | 2 | # name: function_docstring |
| 3 | # key: fd | 3 | # key: fd |
| 4 | # group: definitions | 4 | # group: definitions |
| 5 | # NOTE: Use minimum indentation, because Emacs 25+ doesn't dedent docstrings. | ||
| 6 | # -- | 5 | # -- |
| 7 | def ${1:name}($2): | 6 | def ${1:name}($2): |
| 8 | \"\"\"$3 | 7 | \"\"\"$3 |
diff --git a/.emacs.d/snippets/python-mode/__repr__ b/.emacs.d/snippets/python-mode/__repr__ deleted file mode 100644 index 85cb80f..0000000 --- a/.emacs.d/snippets/python-mode/__repr__ +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: __repr__ | ||
| 3 | # key: _repr | ||
| 4 | # group: Special methods | ||
| 5 | # -- | ||
| 6 | def __repr__(self): | ||
| 7 | return $0 | ||
diff --git a/.emacs.d/snippets/python-mode/__str__ b/.emacs.d/snippets/python-mode/__str__ deleted file mode 100644 index f623df7..0000000 --- a/.emacs.d/snippets/python-mode/__str__ +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: __str__ | ||
| 3 | # key: _str | ||
| 4 | # group: Special methods | ||
| 5 | # -- | ||
| 6 | def __str__(self): | ||
| 7 | return $0 | ||
diff --git a/.emacs.d/snippets/python-mode/function_docstring b/.emacs.d/snippets/python-mode/function_docstring index 685eaf5..1f7f35b 100644 --- a/.emacs.d/snippets/python-mode/function_docstring +++ b/.emacs.d/snippets/python-mode/function_docstring | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | # name: function_docstring | 2 | # name: function_docstring |
| 3 | # key: fd | 3 | # key: fd |
| 4 | # group: definitions | 4 | # group: definitions |
| 5 | # NOTE: Use minimum indentation, because Emacs 25+ doesn't dedent docstrings. | ||
| 6 | # -- | 5 | # -- |
| 7 | def ${1:name}($2): | 6 | def ${1:name}($2): |
| 8 | \"\"\"$3 | 7 | \"\"\"$3 |
