aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua21
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)