diff --git a/pagure/ui/filters.py b/pagure/ui/filters.py index faf08c9..4a0b822 100644 --- a/pagure/ui/filters.py +++ b/pagure/ui/filters.py @@ -97,7 +97,8 @@ def get_syntax_alias(filename): """ override_rules = pagure_config.get( - "SYNTAX_ALIAS_OVERRIDES", {".spec": "rpm-specfile", ".patch": "diff"} + "SYNTAX_ALIAS_OVERRIDES", + {".spec": "rpm-specfile", ".patch": "diff", ".adoc": "asciidoc"}, ) fn, fn_ext = splitext(filename)