aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor
diff options
context:
space:
mode:
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 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>"
]
}