eric6/QScintilla/Editor.py

changeset 7335
07ed3d73bf58
parent 7310
460a332dcc56
child 7339
5e4d36f56085
--- a/eric6/QScintilla/Editor.py	Thu Nov 14 19:39:07 2019 +0100
+++ b/eric6/QScintilla/Editor.py	Tue Nov 19 18:53:58 2019 +0100
@@ -1740,7 +1740,7 @@
                     filename, self.text(0), self)
                 language = "Python{0}".format(pyVer)
             if language in ['Python2', 'Python3', 'MicroPython', 'Ruby',
-                            'JavaScript']:
+                            'JavaScript', 'YAML', 'JSON']:
                 self.filetype = language
             else:
                 self.filetype = ""

eric ide

mercurial