aboutsummaryrefslogtreecommitdiffstats
path: root/snippets/changes.snippets
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-11-06 09:00:11 +0100
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 16:45:26 +0100
commita17148ea04d7db259537b02541a6855a294733be (patch)
tree36171e9cf0bf2d5ffa410932cca2c31d402c023b /snippets/changes.snippets
downloadvim-suse-changes-a17148ea04d7db259537b02541a6855a294733be.tar.gz
feat: add detection of SUSE *.changes files and add first snippet.
Requires vim-snipmate compatible engine.
Diffstat (limited to 'snippets/changes.snippets')
-rw-r--r--snippets/changes.snippets5
1 files changed, 5 insertions, 0 deletions
diff --git a/snippets/changes.snippets b/snippets/changes.snippets
new file mode 100644
index 0000000..6430952
--- /dev/null
+++ b/snippets/changes.snippets
@@ -0,0 +1,5 @@
+snippet ch
+ -------------------------------------------------------------------
+ `strftime("%a %b %e %X %Z %Y")` - `system('rpm --eval "%{packager}"|sed -e "s/^.*<\(.*\)>$/\1/"')`
+ - ${0}
+