fix(runtime): respect 'rtp' order for all runtime files (#24335)

This commit is contained in:
zeertzjq
2023-07-14 06:46:16 +08:00
committed by GitHub
parent a3f4598226
commit dbb840da01
10 changed files with 136 additions and 82 deletions

View File

@@ -32,8 +32,7 @@ vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile', 'StdinReadPost' }, {
if not vim.g.did_load_ftdetect then
vim.cmd([[
augroup filetypedetect
runtime! ftdetect/*.vim
runtime! ftdetect/*.lua
runtime! ftdetect/*.{vim,lua}
augroup END
]])
end