mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix: add after directories to rtp to make after/ftplugin and others work. Fixes #47
This commit is contained in:
parent
b193f96f7b
commit
3606d62918
2 changed files with 18 additions and 24 deletions
|
@ -179,7 +179,7 @@ function M.get_rtp()
|
|||
end
|
||||
for _, path in ipairs(vim.api.nvim_list_runtime_paths()) do
|
||||
path = path:gsub("\\", "/")
|
||||
if not skip[path] then
|
||||
if not skip[path] and not path:find("after/?$") then
|
||||
M.rtp[#M.rtp + 1] = path
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue