various plugins adjustements
This commit is contained in:
parent
19ab962ea9
commit
c84e455173
1 changed files with 24 additions and 21 deletions
|
@ -2,55 +2,57 @@ require("lazy").setup({
|
|||
-- Nvim-tree stuff
|
||||
{ 'nvim-tree/nvim-web-devicons' }, -- optional, for file icons
|
||||
{ 'nvim-tree/nvim-tree.lua',
|
||||
config = require('plugins.nvim-tree').config,
|
||||
opts = require('plugins.nvim-tree').config,
|
||||
keys = require('plugins.nvim-tree').keys },
|
||||
|
||||
{ 'nvim-treesitter/nvim-treesitter',
|
||||
-- treesitter need to be configured after load,
|
||||
-- so let here be init, not config
|
||||
init = require('plugins.treesitter'),
|
||||
build = ':TSUpdate' },
|
||||
build = ':TSUpdate',
|
||||
priority = 400 },
|
||||
-- neovim lsp plugins and depencencies
|
||||
{ 'neovim/nvim-lspconfig',
|
||||
init = require('plugins.nvim-lspconfig').init,
|
||||
priority = 20 },
|
||||
{ 'hrsh7th/cmp-nvim-lsp' },
|
||||
{ 'hrsh7th/cmp-buffer' },
|
||||
{ 'hrsh7th/cmp-cmdline' },
|
||||
{ 'hrsh7th/cmp-path' },
|
||||
{ 'hrsh7th/nvim-cmp',
|
||||
init = require('plugins.nvim-cmp').init,
|
||||
config = require('plugins.nvim-cmp').init,
|
||||
dependencies = { 'onsails/lspkind.nvim' } },
|
||||
{ 'williamboman/mason.nvim',
|
||||
config = {},
|
||||
priority = 30 },
|
||||
opts = {},
|
||||
priority = 200 },
|
||||
-- mason-lspconfig might need disabling on first run
|
||||
{ 'williamboman/mason-lspconfig.nvim',
|
||||
config = require('plugins.mason-lspconfig').config,
|
||||
opts = require('plugins.mason-lspconfig').config,
|
||||
dependencies = { 'williamboman/mason.nvim' },
|
||||
priority = 55 },
|
||||
priority = 150 },
|
||||
{ 'neovim/nvim-lspconfig',
|
||||
config = require('plugins.nvim-lspconfig').init,
|
||||
priority = 100 },
|
||||
{ 'mfussenegger/nvim-lint',
|
||||
init = require('plugins.nvim-lint').init },
|
||||
conifg = require('plugins.nvim-lint').init },
|
||||
{},
|
||||
{ 'folke/trouble.nvim',
|
||||
config = require('plugins.trouble').config,
|
||||
opts = require('plugins.trouble').config,
|
||||
keys = require("plugins.trouble").keys
|
||||
},
|
||||
|
||||
-- various plugins
|
||||
{ 'lewis6991/gitsigns.nvim',
|
||||
config = require('plugins.gitsigns').config },
|
||||
opts = require('plugins.gitsigns').config },
|
||||
{ 'petertriho/nvim-scrollbar',
|
||||
config = {} },
|
||||
{ 'kevinhwang91/nvim-hlslens', config = {},
|
||||
opts = {} },
|
||||
{ 'kevinhwang91/nvim-hlslens',
|
||||
opts = {},
|
||||
keys = require('plugins.hlslens').keys },
|
||||
{ 'L3MON4D3/LuaSnip', version = '*' },
|
||||
{ 'saadparwaiz1/cmp_luasnip' },
|
||||
{ 'lambdalisue/suda.vim' },
|
||||
{ 'akinsho/bufferline.nvim', version = '*',
|
||||
config = require('plugins.bufferline').config },
|
||||
opts = require('plugins.bufferline').config },
|
||||
{ 'gorbit99/codewindow.nvim',
|
||||
config = require('plugins.codewindow').config,
|
||||
opts = require('plugins.codewindow').config,
|
||||
init = require('plugins.codewindow').build
|
||||
},
|
||||
{ 'preservim/nerdcommenter',
|
||||
|
@ -61,19 +63,20 @@ require("lazy").setup({
|
|||
{ 'vmware-archive/salt-vim' },
|
||||
{ 'stephpy/vim-yaml' }, -- for proper sls syntax highlighting when jinja
|
||||
{ 'lukas-reineke/indent-blankline.nvim',
|
||||
config = require('plugins.indent-blankline').config },
|
||||
opts = require('plugins.indent-blankline').config },
|
||||
{ 'MunifTanjim/nui.nvim' },
|
||||
{ 'folke/noice.nvim',
|
||||
config = require("plugins.noice").config,
|
||||
opts = require("plugins.noice").config,
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- OPTIONAL:
|
||||
-- `nvim-notify` is only needed, if you want to use the notification view.
|
||||
-- If not available, we use `mini` as the fallback
|
||||
"rcarriga/nvim-notify", } },
|
||||
{ 'rcarriga/nvim-notify', config = require('plugins.nvim-notify').config },
|
||||
{ 'rcarriga/nvim-notify',
|
||||
opts = require('plugins.nvim-notify').config },
|
||||
{ 'nvim-lualine/lualine.nvim',
|
||||
config = require('plugins.lualine').config },
|
||||
opts = require('plugins.lualine').config },
|
||||
{ 'RRethy/vim-illuminate' },
|
||||
{ 'sheerun/vim-polyglot' },
|
||||
|
||||
|
|
Loading…
Reference in a new issue