added primes harpoon

This commit is contained in:
Paul-0x5061756c 2024-06-26 14:33:09 +02:00
parent ca164c3cb7
commit 30a93cbf75
1 changed files with 32 additions and 1 deletions

View File

@ -687,6 +687,37 @@ require('lazy').setup({
} }
end, end,
}, },
-- Prime's Harpoon2
{
'ThePrimeagen/harpoon',
branch = 'harpoon2',
dependencies = {
'nvim-lua/plenary.nvim',
},
lazy = false,
config = function()
require('harpoon'):setup({})
end,
keys = {
{
'<leader>a',
function()
require('harpoon'):list():add()
end,
mode = 'n',
desc = '[A]dd to Harpoon',
},
{
'<C-e>',
function()
local files = require('harpoon'):list() or {}
require('harpoon').ui:toggle_quick_menu(files)
end,
desc = 'Toggle Harpoon [E]xplorer',
},
},
},
-- neoconf.nvim -- neoconf.nvim
{ {
'folke/neoconf.nvim', 'folke/neoconf.nvim',
@ -748,7 +779,7 @@ require('lazy').setup({
formatters_by_ft = { formatters_by_ft = {
lua = { 'stylua' }, lua = { 'stylua' },
-- Conform can also run multiple formatters sequentially -- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" }, -- pyt,on = { "isort", "black" },
-- --
-- You can use a sub-list to tell conform to run *until* a formatter -- You can use a sub-list to tell conform to run *until* a formatter
-- is found. -- is found.