fix: fallback when mini-files is opened in ministarter
This commit is contained in:
parent
fde1120b8d
commit
b720dd5b85
1 changed files with 5 additions and 1 deletions
|
@ -293,7 +293,11 @@ return {
|
|||
})
|
||||
|
||||
vim.keymap.set("n", "<leader>e", function()
|
||||
MiniFiles.open(vim.api.nvim_buf_get_name(0))
|
||||
if vim.bo.filetype == "ministarter" then
|
||||
MiniFiles.open(nil, false)
|
||||
else
|
||||
MiniFiles.open(vim.api.nvim_buf_get_name(0))
|
||||
end
|
||||
end)
|
||||
vim.keymap.set("n", "<leader>fe", function()
|
||||
MiniFiles.open(nil, false)
|
||||
|
|
Loading…
Reference in a new issue