files: use html+mako lexer for .mako files.
This commit is contained in:
parent
4caf89accf
commit
bbcc92bb81
1 changed files with 1 additions and 1 deletions
|
|
@ -731,7 +731,7 @@ def get_custom_lexer(extension):
|
|||
|
||||
# custom override made by RhodeCode
|
||||
if extension in ['mako']:
|
||||
return lexers.get_lexer_by_name('Mako')
|
||||
return lexers.get_lexer_by_name('html+mako')
|
||||
|
||||
# check if we didn't define this extension as other lexer
|
||||
extensions = rhodecode.EXTENSIONS and getattr(rhodecode.EXTENSIONS, 'EXTRA_LEXERS', None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue