From 5683a910d2ff4cdf8f3ac1b3ebda0ed2e10fed99 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 16 Jan 2016 00:42:59 -0500 Subject: Make a few snippets work in comments --- snippets/text-mode/date | 1 + snippets/text-mode/fname | 1 + snippets/text-mode/random-num | 1 + 3 files changed, 3 insertions(+) (limited to 'snippets/text-mode') diff --git a/snippets/text-mode/date b/snippets/text-mode/date index 14ee4ec..5197155 100644 --- a/snippets/text-mode/date +++ b/snippets/text-mode/date @@ -1,4 +1,5 @@ # -*- mode: snippet -*- # key: date +# condition: 'force-in-comment # -- `(format-time-string "%Y-%m-%d")`$0 \ No newline at end of file diff --git a/snippets/text-mode/fname b/snippets/text-mode/fname index e5ca8ad..f80d053 100644 --- a/snippets/text-mode/fname +++ b/snippets/text-mode/fname @@ -1,4 +1,5 @@ # -*- mode: snippet -*- # key: fname +# condition: 'force-in-comment # -- `(insert (file-name-nondirectory (buffer-file-name)))` $0 \ No newline at end of file diff --git a/snippets/text-mode/random-num b/snippets/text-mode/random-num index 2ef8c60..49aa627 100644 --- a/snippets/text-mode/random-num +++ b/snippets/text-mode/random-num @@ -1,5 +1,6 @@ # -*- mode: snippet -*- # name: random number # key: rnum +# condition: 'force-in-comment # -- `(random 4294967295)`$0 \ No newline at end of file -- cgit v1.2.3