diff --git a/nvim/init.lua b/nvim/init.lua index 3595318..51134e6 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -1 +1,61 @@ require("pgr") + + +-- PACKER.NVIM Config + +-- 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' + + -- telescope fuzzyfinder + use { + 'nvim-telescope/telescope.nvim', tag = '0.1.0', + -- or , branch = '0.1.x', + requires = { {'nvim-lua/plenary.nvim'} } + } + + -- Dracular Color schema + use ({ + 'dracula/vim', + as = 'dracula', + config = function() + vim.cmd('colorscheme dracula') + end + }) + + -- Treesitter + use ('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}) + + --undotree + use('mbbill/undotree') + + --lsp-zeo + use { + 'VonHeikemen/lsp-zero.nvim', + 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'}, + + -- Snippets + {'L3MON4D3/LuaSnip'}, + {'rafamadriz/friendly-snippets'}, + } + } + +end) +