summaryrefslogtreecommitdiff
path: root/etc/snippets/scheme-mode/guix-hg-reference
diff options
context:
space:
mode:
Diffstat (limited to 'etc/snippets/scheme-mode/guix-hg-reference')
-rw-r--r--etc/snippets/scheme-mode/guix-hg-reference7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/snippets/scheme-mode/guix-hg-reference b/etc/snippets/scheme-mode/guix-hg-reference
new file mode 100644
index 0000000000..95de16daae
--- /dev/null
+++ b/etc/snippets/scheme-mode/guix-hg-reference
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: guix-hg-reference
+# key: hg-reference...
+# --
+(hg-reference
+ (url "$1")
+ (changeset ${2:changeset})) \ No newline at end of file