aboutsummaryrefslogtreecommitdiff
path: root/runtime/filetype.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-07-14 06:46:16 +0800
committerGitHub <noreply@github.com>2023-07-14 06:46:16 +0800
commitdbb840da01c72d8a311e0c55d3248d78a64b63a4 (patch)
tree36a381283d42f6e23d552c3ed8e06b03b9fed51b /runtime/filetype.lua
parenta3f4598226c4d01e4fbc41181a1ad21793862fe3 (diff)
downloadrneovim-dbb840da01c72d8a311e0c55d3248d78a64b63a4.tar.gz
rneovim-dbb840da01c72d8a311e0c55d3248d78a64b63a4.tar.bz2
rneovim-dbb840da01c72d8a311e0c55d3248d78a64b63a4.zip
fix(runtime): respect 'rtp' order for all runtime files (#24335)
Diffstat (limited to 'runtime/filetype.lua')
-rw-r--r--runtime/filetype.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/filetype.lua b/runtime/filetype.lua
index f772785d21..cf5fe39656 100644
--- a/runtime/filetype.lua
+++ b/runtime/filetype.lua
@@ -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