summaryrefslogtreecommitdiff
path: root/snippets
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-02-18 22:50:58 -0500
committerKyle Meyer <kyle@kyleam.com>2016-02-18 22:50:58 -0500
commitcaf4814114fc04146d50549bc71c125380ab1c56 (patch)
treeb163218eeba028e5aa8d90cadb81d762554284e4 /snippets
parentaf287828c90c9251ad6af23dc47531549f3d2fd2 (diff)
downloademacs.d-caf4814114fc04146d50549bc71c125380ab1c56.tar.gz
snippets: Add force-in-comment to Python docstring headers
Diffstat (limited to 'snippets')
-rw-r--r--snippets/python-mode/examples-header1
-rw-r--r--snippets/python-mode/parameters-header1
-rw-r--r--snippets/python-mode/returns-header1
3 files changed, 3 insertions, 0 deletions
diff --git a/snippets/python-mode/examples-header b/snippets/python-mode/examples-header
index 339a1be..92daa56 100644
--- a/snippets/python-mode/examples-header
+++ b/snippets/python-mode/examples-header
@@ -1,6 +1,7 @@
# -*- mode: snippet -*-
# name: Examples header
# key: eh
+# condition: 'force-in-comment
# --
Examples
--------
diff --git a/snippets/python-mode/parameters-header b/snippets/python-mode/parameters-header
index 90d26ca..90eb94b 100644
--- a/snippets/python-mode/parameters-header
+++ b/snippets/python-mode/parameters-header
@@ -1,6 +1,7 @@
# -*- mode: snippet -*-
# name: parameters header
# key: ph
+# condition: 'force-in-comment
# --
Parameters
----------
diff --git a/snippets/python-mode/returns-header b/snippets/python-mode/returns-header
index b84bb21..6fb1cda 100644
--- a/snippets/python-mode/returns-header
+++ b/snippets/python-mode/returns-header
@@ -1,6 +1,7 @@
# -*- mode: snippet -*-
# name: Returns header
# key: rh
+# condition: 'force-in-comment
# --
Returns
-------