From c6da97a179b506f69bb113167d48383cff70203e Mon Sep 17 00:00:00 2001 From: robin Date: Thu, 04 Jun 2026 13:20:24 +0000 Subject: [PATCH] plugins: remove neo-tree --- config/config/neo-tree.lua | 43 ------------------------------------------- pkgs/ivy-plugins/npins/sources.json | 26 -------------------------- config/lua/ivy/plugins/init.lua | 8 -------- 3 file(s) changed, 0 insertion(s)(+), 77 deletion(s)(-) diff --git a/config/config/neo-tree.lua b/config/config/neo-tree.lua deleted file mode 100644 --- a/config/config/neo-tree.lua +++ /dev/null @@ -1,43 +0,0 @@ -require("neo-tree").setup({ - popup_border_style = "", -- use 'winborder' - filesystem = { - use_libuv_file_watcher = true, - hijack_netrw_behavior = "disabled", - }, - default_component_configs = { - icon = { - provider = function(icon, node) -- setup a custom icon provider - local text, hl - local mini_icons = require("mini.icons") - if node.type == "file" then -- if it's a file, set the text/hl - text, hl = mini_icons.get("file", node.name) - elseif node.type == "directory" then -- get directory icons - text, hl = mini_icons.get("directory", node.name) - -- only set the icon text if it is not expanded - if node:is_expanded() then - text = nil - end - end - - -- set the icon text/highlight only if it exists - if text then - icon.text = text - end - if hl then - icon.highlight = hl - end - end, - }, - kind_icon = { - provider = function(icon, node) - local mini_icons = require("mini.icons") - icon.text, icon.highlight = mini_icons.get("lsp", node.extra.kind.name) - end, - }, - }, -}) -vim.keymap.set("n", "n", "Neotree", { desc = "open tree view" }) - --- vim.on("WinEnter", "filetype:neo-tree:options", { pattern = "neo-tree *" }, function() --- vim.api.nvim_set_option_value("sidescrolloff", 0, { scope = "local" }) --- end) diff --git a/pkgs/ivy-plugins/npins/sources.json b/pkgs/ivy-plugins/npins/sources.json --- a/pkgs/ivy-plugins/npins/sources.json +++ b/pkgs/ivy-plugins/npins/sources.json @@ -266,19 +266,6 @@ "url": "https://github.com/comfysage/mossy.nvim/archive/42cb21b395cb95f51991aecf4f9e4bc79354ed2e.tar.gz", "hash": "sha256-JB2LJWpzRjcHkVVgsq7mc/FYqKbBSlCZTh4ri61nTY4=" }, - "neo-tree": { - "type": "Git", - "repository": { - "type": "GitHub", - "owner": "nvim-neo-tree", - "repo": "neo-tree.nvim" - }, - "branch": "main", - "submodules": false, - "revision": "7abc884a07696a909cff57de7a0b7054ce151f98", - "url": "https://github.com/nvim-neo-tree/neo-tree.nvim/archive/7abc884a07696a909cff57de7a0b7054ce151f98.tar.gz", - "hash": "sha256-Ikh3MKk0LvWh2KpdIlyl4Ov9tkWIhZGDULHK/L1HLTk=" - }, "nio": { "type": "Git", "repository": { @@ -305,19 +292,6 @@ "revision": "efebbbcfdbaf4f4908025ef3d5c22dd03a6f0824", "url": "https://codeberg.org/comfysage/nivvie.nvim/archive/efebbbcfdbaf4f4908025ef3d5c22dd03a6f0824.tar.gz", "hash": "sha256-bwbDCi2p+MqR+d2Nu+7oCTAWIIjwJAXzIODiFqFkUqE=" - }, - "nui": { - "type": "Git", - "repository": { - "type": "GitHub", - "owner": "muniftanjim", - "repo": "nui.nvim" - }, - "branch": "main", - "submodules": false, - "revision": "de740991c12411b663994b2860f1a4fd0937c130", - "url": "https://github.com/muniftanjim/nui.nvim/archive/de740991c12411b663994b2860f1a4fd0937c130.tar.gz", - "hash": "sha256-41slmnvt1z7sCxvpiVuFmQ9g7eCaxQi1dDCL3AxSL1A=" }, "plenary": { "type": "Git", diff --git a/config/lua/ivy/plugins/init.lua b/config/lua/ivy/plugins/init.lua --- a/config/lua/ivy/plugins/init.lua +++ b/config/lua/ivy/plugins/init.lua @@ -11,13 +11,6 @@ { "blink.pairs", event = "UIEnter" }, - -- tree view - { - "neo-tree.nvim", - event = "UIEnter", - deps = { "nui" }, - }, - { "nvim-bqf" }, { @@ -110,7 +103,6 @@ { "nvim.undotree", event = "UIEnter" }, -- dependencies - { "nui.nvim" }, { "nvim-nio" }, { "yosu.nvim" }, } -- tangled.sh