diff options
author | Cristian Adam <cristian.adam@qt.io> | 2024-04-16 16:38:56 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2024-04-17 10:36:10 +0000 |
commit | d4d8ea98b75545f99477d2b6a4c6aaaa1b354891 (patch) | |
tree | 4bb48738cd513ee7195c01b25803007a4abb5af0 /src | |
parent | 00ac4b7ccc85c73a1db3927212489b458203fc8e (diff) |
TextEditor: Add Flex/Bison mime types
Fixes: QTCREATORBUG-30686
Change-Id: I8f220be4445960573300e76939069788e70ac333
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/texteditor/TextEditor.json.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/texteditor/TextEditor.json.in b/src/plugins/texteditor/TextEditor.json.in index 447d9c91c67..f2b6fbbcf58 100644 --- a/src/plugins/texteditor/TextEditor.json.in +++ b/src/plugins/texteditor/TextEditor.json.in @@ -24,6 +24,21 @@ " <sub-class-of type='text/plain'/>", " <glob pattern='*.dts' weight='80'/>", " </mime-type>", + " <mime-type type='text/x-yacc'>", + " <comment>Yacc/Bison source files</comment>", + " <sub-class-of type='text/plain'/>", + " <glob pattern='*.y'/>", + " <glob pattern='*.yy'/>", + " <glob pattern='*.ypp'/>", + " <glob pattern='*.y++'/>", + " </mime-type>", + " <mime-type type='text/x-lex'>", + " <comment>Lex/Flex source files</comment>", + " <sub-class-of type='text/plain'/>", + " <glob pattern='*.l'/>", + " <glob pattern='*.lex'/>", + " <glob pattern='*.flex'/>", + " </mime-type>", "</mime-info>" ] } |