diff options
Diffstat (limited to 'runtime/lua')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 87439f9f0c..74ab7d8260 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -257,6 +257,10 @@ local extension = { tcc = 'cpp', hxx = 'cpp', hpp = 'cpp', + ccm = 'cpp', + cppm = 'cpp', + cxxm = 'cpp', + ['c++m'] = 'cpp', cpp = function(path, bufnr) return vim.g.cynlib_syntax_for_cpp and 'cynlib' or 'cpp' end, |