summaryrefslogtreecommitdiff
path: root/app/views/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/_blob.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/snippets/_blob.html.haml b/app/views/snippets/_blob.html.haml
index e6ae33f38f3..4b571b4ba3a 100644
--- a/app/views/snippets/_blob.html.haml
+++ b/app/views/snippets/_blob.html.haml
@@ -18,8 +18,7 @@
= render_markup(@snippet.file_name, @snippet.data)
- else
.file-content.code
- %div{class: user_color_scheme_class}
- = raw @snippet.colorize(formatter: :gitlab)
+ = render 'shared/file_hljs', blob: @snippet
- else
.file-content.code
%p.nothing_here_message Empty file