diff --git a/dot_config/nvim/lua/configs/packages/misc.lua b/dot_config/nvim/lua/configs/packages/misc.lua index 2cb65f0..b32386a 100644 --- a/dot_config/nvim/lua/configs/packages/misc.lua +++ b/dot_config/nvim/lua/configs/packages/misc.lua @@ -6,6 +6,20 @@ return { cmd = 'ColorizerToggle', }, + { + 'ThePrimeagen/harpoon', + keys = { + { 'fm', function () require("harpoon.mark").add_file() end, desc = "Harpoon mark file" }, + { 'fh', function () require("harpoon.ui").toggle_quick_menu() end, desc = "Harpoon menu" }, + { '', function () require("harpoon.ui").nav_file(1) end, desc = "Harpoon file 1" }, + { '', function () require("harpoon.ui").nav_file(2) end, desc = "Harpoon file 2" }, + { '', function () require("harpoon.ui").nav_file(3) end, desc = "Harpoon file 3" }, + { '', function () require("harpoon.ui").nav_file(4) end, desc = "Harpoon file 4" }, + { '', function () require("harpoon.ui").nav_file(5) end, desc = "Harpoon file 5" }, + + } + }, + { 's1n7ax/nvim-window-picker', config = true, @@ -176,9 +190,12 @@ return { { 'https://git.sr.ht/~whynothugo/lsp_lines.nvim', config = function() - require('lsp_lines').setup() + local lines = require('lsp_lines') + lines.setup() vim.diagnostic.config({ - virtual_lines = { only_current_line = true }, + virtual_lines = { + only_current_line = true + }, }) end, },