From caf4814114fc04146d50549bc71c125380ab1c56 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 18 Feb 2016 22:50:58 -0500 Subject: snippets: Add force-in-comment to Python docstring headers --- snippets/python-mode/examples-header | 1 + snippets/python-mode/parameters-header | 1 + snippets/python-mode/returns-header | 1 + 3 files changed, 3 insertions(+) (limited to 'snippets') 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 ------- -- cgit v1.2.3