1
0
forked from aniani/vim

patch 9.1.1321: filetype: MS ixx and mpp files are not recognized

Problem:  filetype: MS ixx and mpp files are not recognized
Solution: detect *.mpp and *.ixx files as c++ filetype
          (Hampus Avekvist)

closes: #17155

Signed-off-by: Hampus Avekvist <hampus.avekvist@hey.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hampus Avekvist
2025-04-18 18:18:06 +02:00
committed by Christian Brabandt
parent 1d96caaa4b
commit aee34ef23e
3 changed files with 7 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ def s:GetFilenameChecks(): dict<list<string>>
cook: ['file.cook'],
corn: ['file.corn'],
cpon: ['file.cpon'],
cpp: ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh', 'file.cppm', 'file.ccm', 'file.cxxm', 'file.c++m'],
cpp: ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.ixx', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh', 'file.cppm', 'file.ccm', 'file.cxxm', 'file.c++m', 'file.mpp'],
cqlang: ['file.cql'],
crm: ['file.crm'],
crontab: ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'],