From 249b5005e4c286fb7858438f4e6731a6d44ae6f5 Mon Sep 17 00:00:00 2001 From: Nate Buttke Date: Wed, 16 Aug 2023 09:45:29 -0700 Subject: init --- lua/n8/packer.lua | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 lua/n8/packer.lua (limited to 'lua/n8/packer.lua') diff --git a/lua/n8/packer.lua b/lua/n8/packer.lua new file mode 100644 index 0000000..b633b25 --- /dev/null +++ b/lua/n8/packer.lua @@ -0,0 +1,49 @@ +-- This file can be loaded by calling `lua require('plugins')` from your init.vim + +-- Only required if you have packer configured as `opt` +vim.cmd [[packadd packer.nvim]] + +return require('packer').startup(function(use) + -- Packer can manage itself + use 'wbthomason/packer.nvim' + + use { + 'nvim-telescope/telescope.nvim', tag = '0.1.2', + -- or , branch = '0.1.x', + requires = { {'nvim-lua/plenary.nvim'} } + } + + use({ + 'rose-pine/neovim', + as = 'rose-pine', + }) + + use 'neovim/nvim-lspconfig' -- Configurations for Nvim LSP + use 'simrat39/rust-tools.nvim' -- inlay rust + use 'p00f/clangd_extensions.nvim' -- inlay cpp + use 'nvim-treesitter/playground' + use ('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}) -- tree sitter! + use 'theprimeagen/harpoon' + + + + use { + 'VonHeikemen/lsp-zero.nvim', + branch = 'v2.x', + requires = { + -- LSP Support + {'neovim/nvim-lspconfig'}, -- Required + {'williamboman/mason.nvim'}, -- Optional + {'williamboman/mason-lspconfig.nvim'}, -- Optional + + -- Autocompletion + {'hrsh7th/nvim-cmp'}, -- Required + {'hrsh7th/cmp-nvim-lsp'}, -- Required + {'L3MON4D3/LuaSnip'}, -- Required + } + } + +end) + + +--primeagen recommends undotree and 'tpope/vimfugitive' -- cgit v1.2.3