mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(project): properly close window after changing directory
This commit is contained in:
parent
8f74db318c
commit
cfc62428d2
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ pick = function()
|
|||
local path = selected[1]
|
||||
local ok = project.set_pwd(path)
|
||||
if ok then
|
||||
vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<Esc>", true, false, true), "n", true)
|
||||
vim.api.nvim_win_close(0, false)
|
||||
LazyVim.info("Change project dir to " .. path)
|
||||
end
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue