diff options
| author | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-04 10:04:47 +0100 |
|---|---|---|
| committer | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-04 10:04:47 +0100 |
| commit | e1b0a35e04546333634c3ceb6ed84cb21ef90c38 (patch) | |
| tree | 573ddfa23750192cbc95ac0f7eeaea262ecca14c /lua/plugins.lua | |
| parent | 0a1fd3601928a82135822829641a109cb5948a8c (diff) | |
Initial commit
Diffstat (limited to 'lua/plugins.lua')
| -rw-r--r-- | lua/plugins.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua new file mode 100644 index 0000000..8ac9044 --- /dev/null +++ b/lua/plugins.lua @@ -0,0 +1,21 @@ +local execute = vim.api.nvim_command +local fn = vim.fn + +local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' + +if fn.empty(fn.glob(install_path)) > 0 then + fn.system({'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path}) + execute 'packadd packer.nvim' +end + + +return require('packer').startup(function(use) + use 'wbthomason/packer.nvim' + use "neovim/nvim-lspconfig" + use "hrsh7th/nvim-compe" + use 'hrsh7th/vim-vsnip' + use 'windwp/nvim-autopairs' + use 'kyazdani42/nvim-web-devicons' + use "kyazdani42/nvim-tree.lua" + use { 'akinsho/nvim-bufferline.lua', requires = 'kyazdani42/nvim-web-devicons'} +end) |
