summaryrefslogtreecommitdiffstats
path: root/plugins/snippets/data/javascript.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 14:32:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 14:32:59 +0000
commitadb934701975f6b0214475d1a8d0d1ce727b9d4d (patch)
tree5688c745d10b64c8856586864ec416a6bdae881d /plugins/snippets/data/javascript.xml
parentInitial commit. (diff)
downloadgedit-upstream.tar.xz
gedit-upstream.zip
Adding upstream version 3.38.1.upstream/3.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--plugins/snippets/data/javascript.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/snippets/data/javascript.xml b/plugins/snippets/data/javascript.xml
new file mode 100644
index 0000000..b55c5b3
--- /dev/null
+++ b/plugins/snippets/data/javascript.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<snippets language="js">
+ <snippet id="fun">
+ <text><![CDATA[function ${1:function_name}(${2:first_argument}) {
+ $0
+}]]></text>
+ <description>function</description>
+ <tag>fun</tag>
+ </snippet>
+</snippets>