summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/CodeEditor/modules/ace/snippets/diff.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/CodeEditor/modules/ace/snippets/diff.js')
-rw-r--r--www/wiki/extensions/CodeEditor/modules/ace/snippets/diff.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/wiki/extensions/CodeEditor/modules/ace/snippets/diff.js b/www/wiki/extensions/CodeEditor/modules/ace/snippets/diff.js
new file mode 100644
index 00000000..8fe075ec
--- /dev/null
+++ b/www/wiki/extensions/CodeEditor/modules/ace/snippets/diff.js
@@ -0,0 +1,18 @@
+ace.define("ace/snippets/diff",["require","exports","module"], function(require, exports, module) {
+"use strict";
+
+exports.snippetText = "# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\n\
+snippet header DEP-3 style header\n\
+ Description: ${1}\n\
+ Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n\
+ Bug: ${4:url in upstream bugtracker}\n\
+ Forwarded: ${5:no|not-needed|url}\n\
+ Author: ${6:`g:snips_author`}\n\
+ Reviewed-by: ${7:name and email}\n\
+ Last-Update: ${8:`strftime(\"%Y-%m-%d\")`}\n\
+ Applied-Upstream: ${9:upstream version|url|commit}\n\
+\n\
+";
+exports.scope = "diff";
+
+});