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

@@ -41,6 +41,7 @@
"gh.nvim": { "branch": "main", "commit": "3181973d0c80fe0553e30e0aeeb860bedef9a33b" },
"gitsigns.nvim": { "branch": "main", "commit": "4e348641b8206c3b8d23080999e3ddbe4ca90efc" },
"harpoon": { "branch": "harpoon2", "commit": "a38be6e0dd4c6db66997deab71fc4453ace97f9c" },
"harpoon-lualine": { "branch": "master", "commit": "4e08b6a41430e2a7be562bcc132d281a299bbfd8" },
"highlight-undo.nvim": { "branch": "main", "commit": "50a6884a8476be04ecce8f1c4ed692c5000ef0a1" },
"inc-rename.nvim": { "branch": "main", "commit": "6f9b5f9cb237e12935144cdc535322b8c93c1b25" },
"indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" },

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