Yes, the only problem is that CUDA code can be present in `*.h` headers, and in that case it is up to the user to set the proper filetype. There could be a list of "suggested filetypes" for that kind of situation I suppose (e.g. suggest C, C++ or CUDA for `*.h` files).