From 90bafafb4c7038ac9d6554a605aa6f640d035517 Mon Sep 17 00:00:00 2001 From: doryan Date: Fri, 13 Dec 2024 15:24:47 +0400 Subject: [PATCH] feat: remove redundant plugins and temporary remove noice.nvim --- lua/plugins/core/init.lua | 42 ++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/lua/plugins/core/init.lua b/lua/plugins/core/init.lua index c8f9d78..55344f7 100644 --- a/lua/plugins/core/init.lua +++ b/lua/plugins/core/init.lua @@ -1,6 +1,6 @@ return { { - 'nvim-lua/popup.nvim', + "LunarVim/breadcrumbs.nvim", }, { "akinsho/bufferline.nvim", @@ -29,9 +29,6 @@ return { { "SmiteshP/nvim-navic", }, - { - 'folke/noice.nvim', - }, { "kyazdani42/nvim-web-devicons" }, @@ -41,25 +38,15 @@ return { { 'numToStr/Comment.nvim' }, - { - "L3MON4D3/LuaSnip", - lazy = true, - }, - { - "folke/neodev.nvim", opts = {} - }, { "nvim-treesitter/nvim-treesitter", }, - { - 'fgheng/winbar.nvim' - }, - { - "Bekaboo/dropbar.nvim", - }, { "vague2k/huez.nvim", }, + { + "nvim-telescope/telescope.nvim", + }, { "neovim/nvim-lspconfig", dependencies = { "williamboman/mason-lspconfig.nvim", }, @@ -68,6 +55,24 @@ return { "mfussenegger/nvim-dap", event = "VeryLazy", }, + { + "L3MON4D3/LuaSnip", + lazy = true, + }, + { + 'Bekaboo/dropbar.nvim', + -- optional, but required for fuzzy finder support + dependencies = { + 'nvim-telescope/telescope-fzf-native.nvim', + build = 'make' + }, + config = function() + local dropbar_api = require('dropbar.api') + vim.keymap.set('n', ';', dropbar_api.pick, { desc = 'Pick symbols in winbar' }) + vim.keymap.set('n', '[;', dropbar_api.goto_context_start, { desc = 'Go to start of current context' }) + vim.keymap.set('n', '];', dropbar_api.select_next_context, { desc = 'Select next context' }) + end + }, { "nvim-neo-tree/neo-tree.nvim", branch = "v2.x", @@ -100,9 +105,6 @@ return { require("dapui").setup() end }, - { - "nvim-telescope/telescope.nvim", - }, { "hrsh7th/nvim-cmp", event = "InsertEnter",