From 70a00492962d3201603056d00fbf87c785106d0d Mon Sep 17 00:00:00 2001 From: Maximilian Fricke Date: Thu, 8 Feb 2024 00:42:16 +0100 Subject: [PATCH] fix(runtime): source c ftplugins in correct order (#27377) --- runtime/ftplugin/cpp.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ">".