From 0b837ee1f01423b7b7d435fb6483b986c206b301 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Fri, 22 Oct 2021 17:04:46 +0200 Subject: vim + nvim cleanup, UltiSnip -> LuaSnip --- .config/nvim/lua/plugins.lua | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) (limited to '.config/nvim/lua/plugins.lua') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index c1a83c3..4175672 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -5,20 +5,17 @@ require('packer').startup(function() use 'tpope/vim-fugitive' use 'tpope/vim-surround' use 'tpope/vim-repeat' - use 'ThePrimeagen/vim-be-good' + use 'b3nj5m1n/kommentary' + use 'mhinz/vim-startify' use 'neovim/nvim-lspconfig' - use 'hrsh7th/nvim-cmp' use 'hrsh7th/cmp-nvim-lsp' use 'hrsh7th/cmp-buffer' use 'hrsh7th/cmp-path' - use 'kyazdani42/nvim-web-devicons' - use 'norcalli/nvim-colorizer.lua' - use 'b3nj5m1n/kommentary' - use 'mhinz/vim-startify' - use "akinsho/toggleterm.nvim" + use 'hrsh7th/nvim-cmp' use "ray-x/lsp_signature.nvim" - use "lukas-reineke/indent-blankline.nvim" use "windwp/nvim-autopairs" + use "lukas-reineke/indent-blankline.nvim" + use 'kyazdani42/nvim-web-devicons' use { 'nvim-telescope/telescope.nvim', @@ -31,15 +28,22 @@ require('packer').startup(function() } use { - "SirVer/ultisnips", + "L3MON4D3/LuaSnip", requires = { - "honza/vim-snippets", - "quangnguyen30192/cmp-nvim-ultisnips" - }, - config = function() - vim.g.UltiSnipsRemoveSelectModeMappings = 0 - end, + "rafamadriz/friendly-snippets", + "saadparwaiz1/cmp_luasnip" + } } + -- use { + -- "SirVer/ultisnips", + -- requires = { + -- "honza/vim-snippets", + -- "quangnguyen30192/cmp-nvim-ultisnips" + -- }, + -- config = function() + -- vim.g.UltiSnipsRemoveSelectModeMappings = 0 + -- end, + -- } use { 'lewis6991/gitsigns.nvim', @@ -56,16 +60,8 @@ require('packer').startup(function() run = ':TSUpdate' } - use { 'alvarosevilla95/luatab.nvim', requires='kyazdani42/nvim-web-devicons' } - use { - 'hoob3rt/lualine.nvim', + 'nvim-lualine/lualine.nvim', requires = {'kyazdani42/nvim-web-devicons', opt = true} } - - use { - 'kyazdani42/nvim-tree.lua', - requires = 'kyazdani42/nvim-web-devicons', - config = function() require'nvim-tree'.setup {} end - } end) -- cgit v1.2.3-70-g09d2