client load table on filetype detected

This commit is contained in:
ray-x 2021-10-28 15:35:30 +11:00
parent c9514dffe9
commit 622804e674

View File

@ -537,7 +537,8 @@ end
local function setup(user_opts)
local ft = vim.bo.filetype
if _LoadedFiletypes[ft] then
local bufnr = tostring(vim.api.nvim_get_current_buf())
if _LoadedFiletypes[ft .. bufnr] then
log("navigator was loaded for ft", ft)
return
end