mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 23:00:04 +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('^git://') -- this is for git.vim
|
||||
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
|
||||
return
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user