Neovim Winbar: Elevating Awesome. Simple, Dynamic, Navic-Powered.
abstract-winbar
is a Neovim plugin that enhances code editing by providing a dynamic status bar. Built on top of the Navic plugin, it offers essential file information, modification indicators, and seamless integration with Navic for efficient code navigation.
use your favorite plugin manager
{
"Abstract-IDE/abstract-winbar",
dependencies = {
"SmiteshP/nvim-navic",
"kyazdani42/nvim-web-devicons",
},
},
require("abstract-winbar").setup()
default config
require("abstract-winbar").setup({
exclude_filetypes = {
"",
"alpha",
"dap-repl",
"dap-terminal",
"dapui_breakpoints",
"dapui_console",
"dapui_scopes",
"dapui_stacks",
"dapui_watches",
"dashboard",
"DressingSelect",
"harpoon",
"help",
"Jaq",
"lab",
"lazy",
"lir",
"Markdown",
"mason",
"neo-tree",
"neogitstatus",
"notify",
"NvimTree",
"Outline",
"packer",
"spectre_panel",
"startify",
"TelescopePrompt",
"toggleterm",
"Trouble",
},
})
example: configure navic.nvim+abstract-winbar
local _winbar, winbar = pcall(require, "abstract-winbar")
local _navic, navic = pcall(require, "nvim-navic")
if not _winbar or not _navic then
return
end
navic.setup({
highlight = true,
separator = " ",
depth_limit = 0,
depth_limit_indicator = "..",
icons = {
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 = " ",
},
})
winbar.setup({
exclude_filetypes = {},
})
Distributed under the MIT License. See LICENSE for more information.