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