forked from qt-creator/qt-creator
TextEditor: add mime type for device tree source files
Fixes: QTCREATORBUG-19029 Change-Id: I1959681cb7e0f9466cea3344836d7029a98b4548 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -15,5 +15,15 @@
|
|||||||
"Category" : "Core",
|
"Category" : "Core",
|
||||||
"Description" : "Text editor framework and the implementation of the basic text editor.",
|
"Description" : "Text editor framework and the implementation of the basic text editor.",
|
||||||
"Url" : "http://www.qt.io",
|
"Url" : "http://www.qt.io",
|
||||||
${IDE_PLUGIN_DEPENDENCIES}
|
${IDE_PLUGIN_DEPENDENCIES},
|
||||||
|
"Mimetypes" : [
|
||||||
|
"<?xml version='1.0'?>",
|
||||||
|
"<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>",
|
||||||
|
" <mime-type type='text/vnd.qtcreator.devicetree.source'>",
|
||||||
|
" <comment>Device tree source files</comment>",
|
||||||
|
" <sub-class-of type='text/plain'/>",
|
||||||
|
" <glob pattern='*.dts' weight='80'/>",
|
||||||
|
" </mime-type>",
|
||||||
|
"</mime-info>"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user