mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
nvim: swtich barbeque out for dropbar
This commit is contained in:
parent
74ba820f4f
commit
30dacb82b2
1 changed files with 47 additions and 44 deletions
|
@ -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 = "*",
|
||||
'Bekaboo/dropbar.nvim',
|
||||
-- optional, but required for fuzzy finder support
|
||||
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 = "",
|
||||
},
|
||||
'nvim-telescope/telescope-fzf-native.nvim',
|
||||
build = 'make'
|
||||
},
|
||||
config = function()
|
||||
local dropbar_api = require('dropbar.api')
|
||||
vim.keymap.set('n', '<Leader>;', 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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue