Remove arrow

This commit is contained in:
Martin Larsson 2026-03-19 00:29:35 +01:00
parent 5d8d946d3e
commit f9e6d25cb1
2 changed files with 0 additions and 41 deletions

View file

@ -1,31 +0,0 @@
return {
"otavioschwanck/arrow.nvim",
event = "VeryLazy",
lazy = true,
opts = {
show_icons = true,
leader_key = ",",
global_bookmarks = false,
separate_by_branch = true,
custom_actions = {
open = function(filename, _)
vim.cmd(string.format(":drop %s", filename))
end,
},
mappings = {
edit = "e",
delete_mode = "d",
clear_all_items = "C",
toggle = "s",
open_vertical = "v",
open_horizontal = "h",
quit = "q",
remove = "x",
next_item = "n",
prev_item = "p",
},
window = {
border = "single",
}
}
}

View file

@ -97,15 +97,6 @@ return {
return label
end
local function get_arrow_label()
local statusline = require("arrow.statusline")
if statusline.is_on_arrow_file(props.buf) == nil then
return ""
end
return " " .. statusline.text_for_statusline_with_icons(props.buf)
end
return {
guibg = utils.ayu_colors.panel_bg,
guifg = utils.ayu_colors.fg,
@ -114,7 +105,6 @@ return {
{ get_git_diff() },
{ get_ft_icon() },
{ get_file_path() },
{ get_arrow_label() .. "" .. vim.api.nvim_win_get_number(props.win), group = "DevIconWindows" },
{ " " }
}
end,