forked from qt-creator/qt-creator
CppEditor: Give CUDA MIME type more weight
The Tika database contains a cu-seeme MIME type with glob pattern `*.cu`. Make sure that our own CUDA type takes precedence. Fixes: QTCREATORBUG-31921 Change-Id: Idb3871b08cbe9013fd0e2ea662f586901ca270f7 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
" <mime-type type='text/vnd.nvidia.cuda.csrc'>",
|
||||
" <sub-class-of type='text/x-csrc'/>",
|
||||
" <comment>NVIDIA CUDA C source code</comment>",
|
||||
" <glob pattern='*.cu'/>",
|
||||
" <glob pattern='*.cu' weight='70'/>",
|
||||
" </mime-type>",
|
||||
|
||||
" <mime-type type='text/x-chdr'>",
|
||||
|
Reference in New Issue
Block a user