aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2024-04-17 12:48:28 +0200
committerEike Ziller <eike.ziller@qt.io>2024-04-17 13:29:02 +0200
commit0fe73503688c6c4c256ffa39f1a30c329a5ca2e7 (patch)
treef35e6772a7742155ec62c084dd607a3027216795 /src/plugins/texteditor
parent1f162377369d968cd7740d751bc41047591dbe0d (diff)
parentd4d8ea98b75545f99477d2b6a4c6aaaa1b354891 (diff)
Merge remote-tracking branch 'origin/13.0'
Diffstat (limited to 'src/plugins/texteditor')
-rw-r--r--src/plugins/texteditor/TextEditor.json.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/texteditor/TextEditor.json.in b/src/plugins/texteditor/TextEditor.json.in
index 447d9c91c6..f2b6fbbcf5 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>"
]
}