From 2cd982ab017938a4402f4a656cedd16de0ac5b20 Mon Sep 17 00:00:00 2001 From: Jake Leahy Date: Fri, 1 Sep 2023 08:07:56 +0000 Subject: Add text/x-nim and text/x-nimscript --- data/freedesktop.org.xml.in | 11 +++++++++++ tests/mime-detection/list | 5 +++++ tests/mime-detection/test.nim | 1 + tests/mime-detection/test.nimble | 3 +++ tests/mime-detection/test.nims | 1 + 5 files changed, 21 insertions(+) create mode 100644 tests/mime-detection/test.nim create mode 100644 tests/mime-detection/test.nimble create mode 100644 tests/mime-detection/test.nims diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 2420df1..3f1287b 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -6717,6 +6717,17 @@ command to generate the output files. + + Nim source code + + + + + Nimscript source code + + + + Go source code diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 95eef7a..06facd2 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -962,3 +962,8 @@ perf.data application/x-perf-data # Blueprint (https://gitlab.gnome.org/jwestman/blueprint-compiler) blueprint.blp text/x-blueprint ox + +# Nim source code +test.nim text/x-nim ox +test.nims text/x-nimscript ox +test.nimble text/x-nimscript ox diff --git a/tests/mime-detection/test.nim b/tests/mime-detection/test.nim new file mode 100644 index 0000000..78435ec --- /dev/null +++ b/tests/mime-detection/test.nim @@ -0,0 +1 @@ +echo "Hello, World!" diff --git a/tests/mime-detection/test.nimble b/tests/mime-detection/test.nimble new file mode 100644 index 0000000..dd9c7be --- /dev/null +++ b/tests/mime-detection/test.nimble @@ -0,0 +1,3 @@ +author = "Foo bar" +task build, "Builds files" + echo "Hello world" diff --git a/tests/mime-detection/test.nims b/tests/mime-detection/test.nims new file mode 100644 index 0000000..78435ec --- /dev/null +++ b/tests/mime-detection/test.nims @@ -0,0 +1 @@ +echo "Hello, World!" -- cgit v1.2.3