Commit bee8267d authored by Jérome Perrin's avatar Jérome Perrin

patches/AceEditorZMI: recognize typescript mode

parent 12494b2e
...@@ -46,6 +46,8 @@ def manage_page_footer(self): ...@@ -46,6 +46,8 @@ def manage_page_footer(self):
elif document.meta_type in ('File', ): elif document.meta_type in ('File', ):
if 'javascript' in document.getContentType(): if 'javascript' in document.getContentType():
mode = 'javascript' mode = 'javascript'
elif 'typescript' in document.getContentType():
mode = 'typescript'
elif 'css' in document.getContentType(): elif 'css' in document.getContentType():
mode = 'css' mode = 'css'
elif 'html' in document.getContentType(): elif 'html' in document.getContentType():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment