diff options
-rw-r--r-- | pkg/handler/git/handler.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/handler/git/handler.go b/pkg/handler/git/handler.go index 40fae24..6fae146 100644 --- a/pkg/handler/git/handler.go +++ b/pkg/handler/git/handler.go @@ -362,6 +362,10 @@ func GetLexers(filename string) chroma.Lexer { return lexers.Get("sh") } + if strings.HasSuffix(filename, ".qtpl") { + return lexers.Get("html") + } + lexer := lexers.Get(filename) if lexer == nil { |