From 1d14e6302ff55b25970349146f623f1735f5489d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Tue, 19 Mar 2024 13:01:39 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(nvim):=20add=20harpoonline=20p?= =?UTF-8?q?lugin=20to=20the=20harpoon=20extra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lualine indicator for harpoon --- .config/nvim/.github/README.md | 1 + .../plugins/extras/editor/marks/harpoon-extended.lua | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/.config/nvim/.github/README.md b/.config/nvim/.github/README.md index 1e026fcd..32976baf 100644 --- a/.config/nvim/.github/README.md +++ b/.config/nvim/.github/README.md @@ -337,6 +337,7 @@ 🔖 Marks - [ThePrimeagen/harpoon](https://dotfyle.com/plugins/ThePrimeagen/harpoon) +- [abeldekat/harpoonline](https://dotfyle.com/plugins/abeldekat/harpoonline) - [otavioschwanck/arrow.nvim](https://dotfyle.com/plugins/otavioschwanck/arrow.nvim) - [cbochs/grapple.nvim](https://dotfyle.com/plugins/cbochs/grapple.nvim) - [tomasky/bookmarks.nvim](https://dotfyle.com/plugins/tomasky/bookmarks.nvim) diff --git a/.config/nvim/lua/plugins/extras/editor/marks/harpoon-extended.lua b/.config/nvim/lua/plugins/extras/editor/marks/harpoon-extended.lua index 6a887204..8278fc4d 100644 --- a/.config/nvim/lua/plugins/extras/editor/marks/harpoon-extended.lua +++ b/.config/nvim/lua/plugins/extras/editor/marks/harpoon-extended.lua @@ -51,6 +51,17 @@ return { end) end, }, + { + "nvim-lualine/lualine.nvim", + dependencies = { + "abeldekat/harpoonline", + opts = { formatter = "short", icon = "󰛢" }, + }, + optional = true, + opts = function(_, opts) + table.insert(opts.sections.lualine_c, require("harpoonline").format) + end, + }, { "goolord/alpha-nvim", optional = true,