diff -r 38ad1351688c -r 817a81a2e6aa eric6/QScintilla/Lexers/__init__.py --- a/eric6/QScintilla/Lexers/__init__.py Sat Oct 03 16:52:11 2020 +0200 +++ b/eric6/QScintilla/Lexers/__init__.py Sat Oct 03 16:54:16 2020 +0200 @@ -501,6 +501,9 @@ 'YAML Files (*.yaml *.yml)'), QCoreApplication.translate( 'Lexers', + 'TOML Files (*.toml)'), + QCoreApplication.translate( + 'Lexers', 'Matlab Files (*.m *.m.matlab)'), QCoreApplication.translate( 'Lexers', @@ -709,6 +712,9 @@ 'YAML Files (*.yml)'), QCoreApplication.translate( 'Lexers', + 'TOML Files (*.toml)'), + QCoreApplication.translate( + 'Lexers', 'Matlab Files (*.m)'), QCoreApplication.translate( 'Lexers', @@ -883,6 +889,10 @@ '*.proto': "Protocol", '*.po': "Gettext", '*.coffee': "CoffeeScript", + + '*.toml': "Pygments|TOML", + 'Pipfile': "Pygments|TOML", + 'poetry.lock': "Pygments|TOML", } if QSCINTILLA_VERSION() >= 0x020a00: