aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Laboissière <rafael@laboissiere.net>2022-12-11 05:05:22 -0300
committerRafael Laboissière <rafael@laboissiere.net>2022-12-11 05:05:22 -0300
commit6490cd583916f1dbb5d2508e98b37883ce2ef813 (patch)
treec99bfe8fc3d183ee9e28b411c5a226990e83576f
parent9bc244962da7522123e7bb4a26ac1b7fd2d496f6 (diff)
cgitrc: Allow syntax hightlighting
-rw-r--r--cgitrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
index 4306062..1bef5d1 100644
--- a/cgitrc
+++ b/cgitrc
@@ -10,5 +10,8 @@ robots=noindex, nofollow
# Allow http transport git clone
enable-http-clone=1
+# Syntax highlighting via Pygments
+source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
+
# Allowed repos
include=/etc/cgitrepos