mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 03:40:06 +08:00
fix(projectmanager): skip neo-tree buffer
This commit is contained in:
parent
917bed7392
commit
45f45774b9
@ -398,7 +398,7 @@ function M.current_root()
|
|||||||
or bufname:match('%[defx%]')
|
or bufname:match('%[defx%]')
|
||||||
or bufname:match('^git://') -- this is for git.vim
|
or bufname:match('^git://') -- this is for git.vim
|
||||||
or vim.fn.empty(bufname) == 1
|
or vim.fn.empty(bufname) == 1
|
||||||
-- or bufname:match('^neo-tree') -- this is for git.vim
|
or bufname:match('^neo%-tree') -- this is for neo-tree.nvim
|
||||||
then
|
then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user