[gnome-builder] snippets: use filename for default `pr' value.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] snippets: use filename for default `pr' value.
- Date: Tue, 9 Sep 2014 09:56:48 +0000 (UTC)
commit 775256b9f69dc6beddbb4543eb837459f6371c8a
Author: Christian Hergert <christian hergert me>
Date: Tue Sep 9 02:56:43 2014 -0700
snippets: use filename for default `pr' value.
src/resources/snippets/c.snippets | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/resources/snippets/c.snippets b/src/resources/snippets/c.snippets
index 7345f1d..f87d956 100644
--- a/src/resources/snippets/c.snippets
+++ b/src/resources/snippets/c.snippets
@@ -146,4 +146,4 @@ snippet gobject
self->priv = $3_get_instance_private (self);
}
snippet pr
- ${1:MyObject}Private *priv;$0
+ ${$filename|stripsuffix|functify|camelize}Private *priv;$0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]