fix(runtime): source c ftplugins in correct order (#27377)

This commit is contained in:
Maximilian Fricke 2024-02-08 00:42:16 +01:00 committed by GitHub
parent 5785c32f11
commit 70a0049296
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 <things>
" Disabled, because it gives an error for typing an unmatched ">".