diff --git a/lua/plugins/lz-spec.lua b/lua/plugins/lz-spec.lua index 31856af..8e29dc5 100644 --- a/lua/plugins/lz-spec.lua +++ b/lua/plugins/lz-spec.lua @@ -293,7 +293,11 @@ return { }) vim.keymap.set("n", "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", "fe", function() MiniFiles.open(nil, false)