diff options
author | Matthew Lemon <y@yulqen.org> | 2023-04-08 14:03:37 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-04-08 14:03:37 +0100 |
commit | 0eac8747676452721b123de4b361d3d6098c8033 (patch) | |
tree | 87dac9aa85b33d3ddbeaf316a5aec3c21e1f3850 /nvim/lua/lemon/packer.lua | |
parent | d43a1c045f161a16fd2fe1d4b61bc5aa86910456 (diff) |
Adds back harpoon.lua and reformats the packer file
Harpoon might be quite useful - it does more than it lets on.
Diffstat (limited to '')
-rw-r--r-- | nvim/lua/lemon/packer.lua | 137 |
1 files changed, 69 insertions, 68 deletions
diff --git a/nvim/lua/lemon/packer.lua b/nvim/lua/lemon/packer.lua index 7ef669c..e12f00a 100644 --- a/nvim/lua/lemon/packer.lua +++ b/nvim/lua/lemon/packer.lua @@ -4,82 +4,83 @@ vim.cmd.packadd('packer.nvim') return require('packer').startup(function(use) - -- Packer can manage itself - use 'wbthomason/packer.nvim' + -- Packer can manage itself + use 'wbthomason/packer.nvim' + use("theprimeagen/harpoon") + use { + 'nvim-telescope/telescope.nvim', tag = '0.1.0', + -- or , branch = '0.1.x', + requires = { {'nvim-lua/plenary.nvim'} } + } - use { - 'nvim-telescope/telescope.nvim', tag = '0.1.0', - -- or , branch = '0.1.x', - requires = { {'nvim-lua/plenary.nvim'} } - } + use({ + 'rose-pine/neovim', + as = 'rose-pine', + config = function() + vim.cmd('colorscheme rose-pine') + end + }) - use({ - 'rose-pine/neovim', - as = 'rose-pine', - config = function() - vim.cmd('colorscheme rose-pine') - end - }) + use({ + "folke/trouble.nvim", + config = function() + require("trouble").setup { + icons = false, + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + } + end + }) - use({ - "folke/trouble.nvim", - config = function() - require("trouble").setup { - icons = false, - -- your configuration comes here - -- or leave it empty to use the default settings - -- refer to the configuration section below - } - end - }) + use({"nvim-treesitter/nvim-treesitter", run = ":TSUpdate"}) + use("nvim-treesitter/playground") + use("mbbill/undotree") + use("tpope/vim-fugitive") + use("tpope/vim-commentary") + use("nvim-treesitter/nvim-treesitter-context"); + use('mfussenegger/nvim-dap') - use({"nvim-treesitter/nvim-treesitter", run = ":TSUpdate"}) - use("mbbill/undotree") - use("tpope/vim-fugitive") - use("tpope/vim-commentary") - use("nvim-treesitter/nvim-treesitter-context"); - use('mfussenegger/nvim-dap') + use { + 'VonHeikemen/lsp-zero.nvim', + branch = 'v1.x', + requires = { + -- LSP Support + {'neovim/nvim-lspconfig'}, + {'williamboman/mason.nvim'}, + {'williamboman/mason-lspconfig.nvim'}, - use { - 'VonHeikemen/lsp-zero.nvim', - branch = 'v1.x', - requires = { - -- LSP Support - {'neovim/nvim-lspconfig'}, - {'williamboman/mason.nvim'}, - {'williamboman/mason-lspconfig.nvim'}, + -- Autocompletion + {'hrsh7th/nvim-cmp'}, + {'hrsh7th/cmp-buffer'}, + {'hrsh7th/cmp-path'}, + {'saadparwaiz1/cmp_luasnip'}, + {'hrsh7th/cmp-nvim-lsp'}, + {'hrsh7th/cmp-nvim-lua'}, - -- Autocompletion - {'hrsh7th/nvim-cmp'}, - {'hrsh7th/cmp-buffer'}, - {'hrsh7th/cmp-path'}, - {'saadparwaiz1/cmp_luasnip'}, - {'hrsh7th/cmp-nvim-lsp'}, - {'hrsh7th/cmp-nvim-lua'}, + -- Snippets + {'L3MON4D3/LuaSnip'}, + {'rafamadriz/friendly-snippets'}, + } + } - -- Snippets - {'L3MON4D3/LuaSnip'}, - {'rafamadriz/friendly-snippets'}, - } - } - - use("folke/zen-mode.nvim") - use("github/copilot.vim") - use("eandrju/cellular-automaton.nvim") - -- use("laytan/cloak.nvim") - use("jlanzarotta/bufexplorer") - use { - "nvim-neotest/neotest", - requires = { - "nvim-neotest/neotest-python", - "nvim-neotest/neotest-plenary", - "folke/neodev.nvim", - "nvim-lua/plenary.nvim", - "nvim-treesitter/nvim-treesitter", - "antoinemadec/FixCursorHold.nvim" - } - } + use("folke/zen-mode.nvim") + use("github/copilot.vim") + use("eandrju/cellular-automaton.nvim") + -- use("laytan/cloak.nvim") + use("jlanzarotta/bufexplorer") + use { + "nvim-neotest/neotest", + requires = { + "nvim-neotest/neotest-python", + "nvim-neotest/neotest-plenary", + "folke/neodev.nvim", + "nvim-lua/plenary.nvim", + "nvim-treesitter/nvim-treesitter", + "antoinemadec/FixCursorHold.nvim" + } + } end) |