added primes harpoon
This commit is contained in:
parent
ca164c3cb7
commit
30a93cbf75
33
init.lua
33
init.lua
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue