mirror of
https://github.com/ray-x/navigator.lua
synced 2024-11-05 12:00:21 +00:00
client load table on filetype detected
This commit is contained in:
parent
c9514dffe9
commit
622804e674
@ -537,7 +537,8 @@ end
|
|||||||
|
|
||||||
local function setup(user_opts)
|
local function setup(user_opts)
|
||||||
local ft = vim.bo.filetype
|
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)
|
log("navigator was loaded for ft", ft)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user