mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Migrate away from deprecated get_target_window() in mini-files
This method is deprecated in the most recent version of mini-files:
a3a9cce821/lua/mini/files.lua (L1060-L1068)
This commit is contained in:
parent
a1c3ec4cd4
commit
eee7c3ff1f
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ return {
|
|||
local map_split = function(buf_id, lhs, direction, close_on_file)
|
||||
local rhs = function()
|
||||
local new_target_window
|
||||
local cur_target_window = require("mini.files").get_target_window()
|
||||
local cur_target_window = require("mini.files").get_explorer_state().target_window
|
||||
if cur_target_window ~= nil then
|
||||
vim.api.nvim_win_call(cur_target_window, function()
|
||||
vim.cmd("belowright " .. direction .. " split")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue