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