diff --git a/src/plugins/cppeditor/CppEditor.mimetypes.xml b/src/plugins/cppeditor/CppEditor.mimetypes.xml
index 041f8734b3e83d4604a9673873dc3c380f6c6496..c742f1137482e1329aa56a59dc3a9f9ac414317d 100644
--- a/src/plugins/cppeditor/CppEditor.mimetypes.xml
+++ b/src/plugins/cppeditor/CppEditor.mimetypes.xml
@@ -4,6 +4,8 @@
         <sub-class-of type="text/plain"/>
         <comment>C Source file</comment>
         <glob pattern="*.c"/>
+        <!-- NVIDIA CUDA files are like C -->
+        <glob pattern="*.cu"/>
     </mime-type>
 
     <!-- A C Header file is virtually undistinguishable from the C++ header  -->