diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 5d0323f..340006c 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -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" }, diff --git a/nvim/lua/plugins/harpoon-lualine.lua b/nvim/lua/plugins/harpoon-lualine.lua new file mode 100644 index 0000000..31232d7 --- /dev/null +++ b/nvim/lua/plugins/harpoon-lualine.lua @@ -0,0 +1,11 @@ +-- Harpoon2 for lualine +-- https://github.com/letieu/harpoon-lualine +return { + "letieu/harpoon-lualine", + dependencies = { + { + "ThePrimeagen/harpoon", + branch = "harpoon2", + }, + }, +} diff --git a/nvim/lua/plugins/lualine.lua b/nvim/lua/plugins/lualine.lua index f9ee101..f2f0e9d 100644 --- a/nvim/lua/plugins/lualine.lua +++ b/nvim/lua/plugins/lualine.lua @@ -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 },