##// END OF EJS Templates
files: use html+mako lexer for .mako files.
marcink -
r1592:da8c8187 default
parent child Browse files
Show More
@@ -731,7 +731,7 b' def get_custom_lexer(extension):'
731
731
732 # custom override made by RhodeCode
732 # custom override made by RhodeCode
733 if extension in ['mako']:
733 if extension in ['mako']:
734 return lexers.get_lexer_by_name('Mako')
734 return lexers.get_lexer_by_name('html+mako')
735
735
736 # check if we didn't define this extension as other lexer
736 # check if we didn't define this extension as other lexer
737 extensions = rhodecode.EXTENSIONS and getattr(rhodecode.EXTENSIONS, 'EXTRA_LEXERS', None)
737 extensions = rhodecode.EXTENSIONS and getattr(rhodecode.EXTENSIONS, 'EXTRA_LEXERS', None)
General Comments 0
You need to be logged in to leave comments. Login now