fix(dir): restore loaded plugin guard #40528

This commit is contained in:
Barrett Ruth
2026-07-01 13:45:55 -05:00
committed by GitHub
parent 12ea9735f7
commit daa229bfde
3 changed files with 19 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
if vim.g.loaded_nvim_dir_plugin ~= nil then
return
end
vim.g.loaded_nvim_dir_plugin = true
local api = vim.api
local nvim_on = require('vim._core.util').nvim_on