feat(nvim): add Harpoon Lualine plugin

This commit is contained in:
Stefan Imhoff
2024-03-16 10:58:17 +01:00
parent 83adac340c
commit e9d3173423
3 changed files with 18 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
-- Harpoon2 for lualine
-- https://github.com/letieu/harpoon-lualine
return {
"letieu/harpoon-lualine",
dependencies = {
{
"ThePrimeagen/harpoon",
branch = "harpoon2",
},
},
}

View File

@@ -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 },