From 624620c918c4d9590f177290e27f469b4778d63f Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Mon, 25 Sep 2023 18:59:27 -0400 Subject: add lsp config --- lua/zberwaldt/packer.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lua/zberwaldt') diff --git a/lua/zberwaldt/packer.lua b/lua/zberwaldt/packer.lua index 030c760..1b9a136 100644 --- a/lua/zberwaldt/packer.lua +++ b/lua/zberwaldt/packer.lua @@ -21,4 +21,16 @@ return require('packer').startup(function(use) use('theprimeagen/harpoon') use('mbbill/undotree') use('tpope/vim-fugitive') + use { + 'VonHeikemen/lsp-zero.nvim', + branch = 'v3.x', + requires = { + {'williamboman/mason.nvim'}, + {'williamboman/mason-lspconfig.nvim'}, + {'neovim/nvim-lspconfig'}, + {'hrsh7th/nvim-cmp'}, + {'hrsh7th/cmp-nvim-lsp'}, + {'L3MON4D3/LuaSnip'}, + } + } end) -- cgit v1.1