From 578b19ebb85e4c72576079725bb78c264004125b Mon Sep 17 00:00:00 2001 From: Nicholas Ciechanowski Date: Fri, 3 Jul 2026 22:24:36 +1000 Subject: [PATCH] fix(fyler): support for v2 --- .../file-explorer/fyler-nvim/README.md | 2 +- .../file-explorer/fyler-nvim/init.lua | 38 ++++++++++++------- 2 files changed, 25 insertions(+), 15 deletions(-) diff --git a/lua/astrocommunity/file-explorer/fyler-nvim/README.md b/lua/astrocommunity/file-explorer/fyler-nvim/README.md index d92003d08..b17e5a896 100644 --- a/lua/astrocommunity/file-explorer/fyler-nvim/README.md +++ b/lua/astrocommunity/file-explorer/fyler-nvim/README.md @@ -2,4 +2,4 @@ A neovim file manager which can edit file system like a buffer with tree view -**Repository:** +**Repository:** diff --git a/lua/astrocommunity/file-explorer/fyler-nvim/init.lua b/lua/astrocommunity/file-explorer/fyler-nvim/init.lua index b013a3f43..0abb5c55e 100644 --- a/lua/astrocommunity/file-explorer/fyler-nvim/init.lua +++ b/lua/astrocommunity/file-explorer/fyler-nvim/init.lua @@ -1,7 +1,8 @@ return { { "nvim-neo-tree/neo-tree.nvim", optional = true, enabled = false }, { - "A7Lavinraj/fyler.nvim", + "FylerOrg/fyler.nvim", + version = "^2", dependencies = { "nvim-mini/mini.icons", { @@ -9,26 +10,35 @@ return { opts = function(_, opts) local maps = opts.mappings or {} maps.n["e"] = { - function() require("fyler").toggle { kind = "float" } end, - desc = "Open with fyler (floating)", + function() require("fyler").toggle { kind = "split_left_most" } end, + desc = "Toggle Explorer", + } + maps.n["E"] = { + function() require("fyler").toggle { kind = "floating" } end, + desc = "Toggle Explorer (Floating)", } end, }, }, - opts = { - views = { - finder = { - default_explorer = true, - indentscope = { - markers = "┊", - }, - win = { - border = "rounded", - kind = "replace", - }, + integrations = { + icon = "mini_icons", + }, + extensions = { + git = { + enabled = true, + inline = false, }, }, + use_as_default_explorer = true, + kind_presets = { + floating = { + border = "rounded", + }, + }, + ui = { + indent_guides = true, + }, }, }, }