mirror of
https://github.com/neovim/neovim.git
synced 2026-04-24 00:05:36 +00:00
fix(runtime): respect 'rtp' order for all runtime files (#24335)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user