mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add Harpoon Lualine plugin
This commit is contained in:
11
nvim/lua/plugins/harpoon-lualine.lua
Normal file
11
nvim/lua/plugins/harpoon-lualine.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
-- Harpoon2 for lualine
|
||||
-- https://github.com/letieu/harpoon-lualine
|
||||
return {
|
||||
"letieu/harpoon-lualine",
|
||||
dependencies = {
|
||||
{
|
||||
"ThePrimeagen/harpoon",
|
||||
branch = "harpoon2",
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -43,11 +43,12 @@ return {
|
||||
},
|
||||
{ "filetype", icon_only = true, separator = "", padding = { left = 1, right = 0 } },
|
||||
{ "filename", path = 1, symbols = { modified = " ", readonly = "", unnamed = "" } },
|
||||
-- stylua: ignore
|
||||
-- {
|
||||
-- function() return require("nvim-navic").get_location() end,
|
||||
-- cond = function() return package.loaded["nvim-navic"] and require("nvim-navic").is_available() end,
|
||||
-- },
|
||||
{
|
||||
"harpoon2",
|
||||
indicators = { "1", "2", "3", "4", "5" },
|
||||
active_indicators = { "[1]", "[2]", "[3]", "[4]", "[5]" },
|
||||
separator = " ",
|
||||
},
|
||||
},
|
||||
lualine_x = {
|
||||
{ require("lsp-progress").progress },
|
||||
|
||||
Reference in New Issue
Block a user