feat nvim: add plugins

This commit is contained in:
vincent 2022-12-03 19:15:24 +01:00
parent 15e0b48dce
commit dffb1d99cb

View File

@ -32,33 +32,18 @@ local packer_bootstrap = ensure_packer()
return require('packer').startup { return require('packer').startup {
function(use) function(use)
use 'wbthomason/packer.nvim' use 'wbthomason/packer.nvim'
use 'lewis6991/impatient.nvim'
use { use 'nvim-lua/plenary.nvim'
'lewis6991/gitsigns.nvim', use 'tpope/vim-eunuch'
config = function()
require('plugins.gitsign')
end
}
use 'ellisonleao/gruvbox.nvim'
-- Show indent line
use {
"lukas-reineke/indent-blankline.nvim",
config = function()
require('plugins.indent-blankline')
end
}
--LSP --LSP
use({ "https://github.com/neovim/nvim-lspconfig"}) use({ "https://github.com/neovim/nvim-lspconfig" })
use({ "https://github.com/williamboman/mason-lspconfig.nvim"}) use({ "https://github.com/williamboman/mason-lspconfig.nvim" })
use({ "https://github.com/williamboman/mason.nvim", use({ "https://github.com/williamboman/mason.nvim",
config= function() config = function()
end end
}) })
use({ "https://github.com/jose-elias-alvarez/null-ls.nvim", use({ "https://github.com/jose-elias-alvarez/null-ls.nvim",
config= function() config = function()
require('plugins.lsp.null-ls') require('plugins.lsp.null-ls')
end end
}) })
@ -82,7 +67,7 @@ return require('packer').startup {
'nvim-telescope/telescope-fzf-native.nvim', 'nvim-telescope/telescope-fzf-native.nvim',
run = 'make', run = 'make',
config = function() config = function()
require ('plugins.telescope') require('plugins.telescope')
end end
} }
@ -111,12 +96,21 @@ return require('packer').startup {
use({ use({
'hrsh7th/nvim-cmp', 'hrsh7th/nvim-cmp',
config= function() config = function()
require('plugins.cmp') require('plugins.cmp')
end end
}) })
-- UI -- UI
use 'ellisonleao/gruvbox.nvim'
use {
"lukas-reineke/indent-blankline.nvim",
config = function()
require('plugins.indent-blankline')
end
}
use 'kyazdani42/nvim-web-devicons' use 'kyazdani42/nvim-web-devicons'
use { use {
'akinsho/bufferline.nvim', 'akinsho/bufferline.nvim',
@ -138,21 +132,28 @@ return require('packer').startup {
require('plugins.which-key') require('plugins.which-key')
end, end,
}) })
use ({'nvim-lualine/lualine.nvim', use({ 'nvim-lualine/lualine.nvim',
config=function () config = function()
require('plugins.lualine') require('plugins.lualine')
end end
}) })
--use 'freitass/todo.txt-vim' --GIT
use 'nvim-lua/plenary.nvim' use {
'lewis6991/gitsigns.nvim',
config = function()
require('plugins.gitsign')
end
}
use { use {
'TimUntersberger/neogit', 'TimUntersberger/neogit',
config = function() config = function()
require('plugins.neogit') require('plugins.neogit')
end end
} }
use ({ use({
'windwp/nvim-autopairs', 'windwp/nvim-autopairs',
config = function() config = function()
require('plugins.autopairs') require('plugins.autopairs')