From 0e32e25ef48fcdcba2e25f4f6c835eb2c64e3322 Mon Sep 17 00:00:00 2001 From: softinio Date: Fri, 15 Nov 2024 23:40:05 -0800 Subject: [PATCH] revert 63c054848fdfeeb898b2a3702026e5a5a1ce4779 revert Merge pull request 'add new plugins to support jujitsu' (#33) from push-utyvykwmwlyl into main Reviewed-on: https://code.softinio.com/softinio/nvim-config/pulls/33 --- lua/plugins/neo-tree-jj.lua | 32 -------------------------------- lua/plugins/telescope.lua | 2 -- 2 files changed, 34 deletions(-) delete mode 100644 lua/plugins/neo-tree-jj.lua diff --git a/lua/plugins/neo-tree-jj.lua b/lua/plugins/neo-tree-jj.lua deleted file mode 100644 index db36945..0000000 --- a/lua/plugins/neo-tree-jj.lua +++ /dev/null @@ -1,32 +0,0 @@ -return { - "Cretezy/neo-tree-jj.nvim", - dependencies = { - { - "nvim-neo-tree/neo-tree.nvim", - opts = function(_, opts) - -- Register the source - table.insert(opts.sources, "jj") - - -- Optional: Replace git tab in neo-tree when in jj repo - if require("neo-tree.sources.jj.utils").get_repository_root() then - -- Remove git tab - for i, source in ipairs(opts.source_selector.sources) do - if source.source == "git_status" then - table.remove(opts.source_selector.sources, i) - break - end - end - - -- Add jj tab - table.insert(opts.source_selector.sources, { - display_name = "󰊢 JJ", - source = "jj", - }) - end - end, - }, - }, - keys = { - { "mj", "Neotree jj", desc = "NeoTree JJ" }, - }, -} diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 239c587..c460410 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -6,7 +6,6 @@ return { { "nvim-telescope/telescope-fzf-native.nvim", build = "make" }, "debugloop/telescope-undo.nvim", "nvim-telescope/telescope-ui-select.nvim", - "zschreur/telescope-jj.nvim", }, config = function() require("telescope").setup({ @@ -22,7 +21,6 @@ return { -- Enable telescope fzf native, if installed pcall(require("telescope").load_extension, "fzf") - pcall(require("telescope").load_extension, "jj") pcall(require("telescope").load_extension, "scaladex") pcall(require("telescope").load_extension, "ui-select") pcall(require("telescope").load_extension, "undo") -- 2.47.0