summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-02-05 12:07:13 +0100
committerGeorg Pfuetzenreuter2023-02-05 12:07:13 +0100
commit785986d2acc45ddb5451dffc1840b13accdd871c (patch)
treed1f51e05a36438bdab53a53a0d1d51b9cbf3ba62
parent1b619358a8ffcec0385428275167220be4f8c02b (diff)
downloadsalt-785986d2acc45ddb5451dffc1840b13accdd871c.tar.gz
salt-785986d2acc45ddb5451dffc1840b13accdd871c.tar.bz2
salt-785986d2acc45ddb5451dffc1840b13accdd871c.zip
Enable syntax highlighting
Initially for .sls and .jinja/.j2 files - we can add others later on if needed. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
-rw-r--r--.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..f086e49
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+*.sls gitlab-language=jinja?parent=yaml
+*.jinja gitlab-language=jinja
+*.j2 gitlab-language=jinja