diff options
| author | Simeon Simeonov | 2019-03-14 10:11:36 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2019-03-14 10:11:36 +0100 |
| commit | 1709cd403b5facd5c1e13e90891eb6ba18b56c24 (patch) | |
| tree | 53dca6cb5efcb5fcdb1cf5aa1399432d485c3bc2 | |
| parent | 768e9a669d0a35087f42a9712791809850be8f49 (diff) | |
Add /snippets/python-mode/docstring_oneliner as an explicit oneliner
| -rw-r--r-- | .emacs.d/snippets/python-mode/doc | 4 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/docstring_oneliner | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/.emacs.d/snippets/python-mode/doc b/.emacs.d/snippets/python-mode/doc index 440bbe3..f2c6be4 100644 --- a/.emacs.d/snippets/python-mode/doc +++ b/.emacs.d/snippets/python-mode/doc | |||
| @@ -2,4 +2,6 @@ | |||
| 2 | # name: doc | 2 | # name: doc |
| 3 | # key: d | 3 | # key: d |
| 4 | # -- | 4 | # -- |
| 5 | """$0""" \ No newline at end of file | 5 | """ |
| 6 | $0 | ||
| 7 | """ \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/python-mode/docstring_oneliner b/.emacs.d/snippets/python-mode/docstring_oneliner new file mode 100644 index 0000000..8593dd6 --- /dev/null +++ b/.emacs.d/snippets/python-mode/docstring_oneliner | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: docstring_oneliner | ||
| 3 | # key: do | ||
| 4 | # -- | ||
| 5 | """$0""" \ No newline at end of file | ||
