require('packer').startup(function(use) use 'wbthomason/packer.nvim' use 'neovim/lsp' use 'neovim/nvim-lspconfig' use { 'nvim-treesitter/nvim-treesitter', run = function() local ts_update = require('nvim-treesitter.install').update({ with_sync = true }) ts_update() end, } use 'williamboman/mason.nvim' use 'williamboman/mason-lspconfig.nvim' use 'hrsh7th/nvim-cmp' use 'hrsh7th/cmp-nvim-lsp' use { 'nvim-lualine/lualine.nvim', requires = { 'kyazdani42/nvim-web-devicons', opt = true } } use 'numToStr/Comment.nvim' -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins if packer_bootstrap then require('packer').sync() end end)