diff --git a/runtime/ftplugin/cpp.vim b/runtime/ftplugin/cpp.vim index cb425aa8e7..d4931a2533 100644 --- a/runtime/ftplugin/cpp.vim +++ b/runtime/ftplugin/cpp.vim @@ -10,8 +10,7 @@ if exists("b:did_ftplugin") endif " Behaves mostly just like C -runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim -runtime! ftplugin/c.lua ftplugin/c_*.lua ftplugin/c/*.lua +runtime! ftplugin/c.{vim,lua} ftplugin/c_*.{vim,lua} ftplugin/c/*.{vim,lua} " C++ uses templates with " Disabled, because it gives an error for typing an unmatched ">".