diff --git a/.config/nvim/lua/user/lazy.lua b/.config/nvim/lua/user/lazy.lua index 63e4945..9e44c53 100644 --- a/.config/nvim/lua/user/lazy.lua +++ b/.config/nvim/lua/user/lazy.lua @@ -30,7 +30,7 @@ local plugins = { }, -- -------------------- startup screen for neovim ------------------------ { - 'glepnir/dashboard-nvim', + 'nvimdev/dashboard-nvim', event = 'VimEnter', dependencies = { 'nvim-tree/nvim-web-devicons' @@ -147,48 +147,51 @@ local plugins = { dependencies = {'nvim-tree/nvim-web-devicons'}, lazy = true, }, + -- this was for barbeque before it was replaced with dropbar.api + -- { + -- kinds = { + -- File = "", + -- Module = "", + -- Namespace = "", + -- Package = "", + -- Class = "", + -- Method = "", + -- Property = "󰀭", + -- Field = "🌾", + -- Constructor = "󰬢", + -- Enum = "", + -- Interface = "", + -- Function = "󰊕", + -- Variable = "󰫧", + -- Constant = "", + -- String = "", + -- Number = "", + -- Boolean = "", + -- Array = "", + -- Object = "", + -- Key = "", + -- Null = "", + -- EnumMember = "", + -- Struct = "", + -- Event = "", + -- Operator = "", + -- TypeParameter = "", + -- }, + -- }, -- code refence at top of window { - "utilyre/barbecue.nvim", - name = "barbecue", - version = "*", - dependencies = { - "SmiteshP/nvim-navic", - "nvim-tree/nvim-web-devicons" - }, - opts = { - show_dirname = false, - show_basename = false, - context_follow_icon_color = true, - kinds = { - File = "", - Module = "", - Namespace = "", - Package = "", - Class = "", - Method = "", - Property = "󰀭", - Field = "🌾", - Constructor = "󰬢", - Enum = "", - Interface = "", - Function = "󰊕", - Variable = "󰫧", - Constant = "", - String = "", - Number = "", - Boolean = "", - Array = "", - Object = "", - Key = "", - Null = "", - EnumMember = "", - Struct = "", - Event = "", - Operator = "", - TypeParameter = "", - }, - }, + '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 }, -- ------------------ dimming inactive windows --------------------------- { @@ -324,9 +327,9 @@ local plugins = { }, -- may replace null-ls since was deprecated -- https://github.com/nvimdev/guard.nvim - { - 'nvimdev/guard.nvim' - }, + --{ + -- 'nvimdev/guard.nvim' + --}, -- Diagnostics with leader key + d { "folke/trouble.nvim",