aboutsummaryrefslogtreecommitdiffstats
path: root/modules/highlight/highlight.go
diff options
context:
space:
mode:
authorRob Watson <rfwatson@users.noreply.github.com>2019-06-04 23:01:47 +0200
committertechknowlogick <hello@techknowlogick.com>2019-06-04 17:01:47 -0400
commit8bf405986e9940be863088e65903d4e2e2fe84ce (patch)
treeb84d040d769de5f6ff827a103968f3c7e77f8c36 /modules/highlight/highlight.go
parent2a8037fe4e95f2197f1123e43e5c626de9826eb8 (diff)
downloadgitea-8bf405986e9940be863088e65903d4e2e2fe84ce.tar.gz
gitea-8bf405986e9940be863088e65903d4e2e2fe84ce.zip
Add Rust highlighting (#7125)
Diffstat (limited to 'modules/highlight/highlight.go')
-rw-r--r--modules/highlight/highlight.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/highlight/highlight.go b/modules/highlight/highlight.go
index 6d5e1a97ba..cb52f6ac2e 100644
--- a/modules/highlight/highlight.go
+++ b/modules/highlight/highlight.go
@@ -51,6 +51,7 @@ var (
".php": {},
".py": {},
".rb": {},
+ ".rs": {},
".scss": {},
".sql": {},
".scala": {},