diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-10-07 00:35:29 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-10-07 00:35:29 +0200 |
commit | cae577e428d68cd3547a3ee52462a8b822358d40 (patch) | |
tree | c80afbade1314c0b0ad5202ecb689eb967a47365 /.config/nvim/lua/plugins.lua | |
parent | 2d10ca018aff55e2af9cc5727003c4b3382210eb (diff) |
nvim setup snippets, nvim-tree, lualine(tabline)
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r-- | .config/nvim/lua/plugins.lua | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 87e57ce..53ce20c 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -1,20 +1,22 @@ -return require('packer').startup(function() +local use = require('packer').use +require('packer').startup(function() use 'wbthomason/packer.nvim' use 'gruvbox-community/gruvbox' use 'tpope/vim-fugitive' + use 'tpope/vim-surround' use 'ThePrimeagen/vim-be-good' - use 'neovim/nvim-lspconfig' use 'hrsh7th/nvim-cmp' use 'hrsh7th/cmp-nvim-lsp' use 'hrsh7th/cmp-buffer' use 'hrsh7th/cmp-path' - + use 'saadparwaiz1/cmp_luasnip' + use 'L3MON4D3/LuaSnip' use 'kyazdani42/nvim-web-devicons' use 'norcalli/nvim-colorizer.lua' use 'b3nj5m1n/kommentary' - use { + use { 'nvim-telescope/telescope.nvim', requires = { {'nvim-lua/popup.nvim'}, @@ -35,12 +37,20 @@ return require('packer').startup(function() } use { + 'nvim-treesitter/nvim-treesitter', + run = ':TSUpdate' + } + + use { 'alvarosevilla95/luatab.nvim', requires='kyazdani42/nvim-web-devicons' } + + use { 'hoob3rt/lualine.nvim', requires = {'kyazdani42/nvim-web-devicons', opt = true} } use { - 'nvim-treesitter/nvim-treesitter', - run = ':TSUpdate' + 'kyazdani42/nvim-tree.lua', + requires = 'kyazdani42/nvim-web-devicons', + config = function() require'nvim-tree'.setup {} end } end) |