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