/
bluesboy
/
dotfiles
Обзор
Документация
Войти
/
bluesboy
/
dotfiles
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
config/nvim/lua/plugins/lsp/dropbar.lua
45 строк
1 KB
Bluesboy
Install Neovim plugins
15 апр 2026, 00:47
15 апр 2026, 00:47
9debf6a
Код
Авторство
О чём код?
return { { "Bekaboo/dropbar.nvim", -- optional, but required for fuzzy finder support dependencies = { "nvim-telescope/telescope-fzf-native.nvim", build = "make", }, event = "LspAttach", opts = { bar = { sources = function(buf, _) local sources = require("dropbar.sources") if vim.bo[buf].ft == "markdown" then return { sources.path } end return { sources.lsp, sources.treesitter, sources.path } end, }, }, keys = { { "<Leader>;", function() require("dropbar.api").pick() end, desc = "Pick symbols in winbar", }, { "[;", function() require("dropbar.api").goto_context_start() end, desc = "Go to start of current context", }, { "];", function() require("dropbar.api").select_next_context() end, desc = "Select next context", }, }, }, }