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:
Eike Ziller
2024-10-31 12:49:12 +01:00
parent f31dcd5931
commit c2aeb17f13

View File

@@ -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'>",