summaryrefslogtreecommitdiff
path: root/lua/user/lazy.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/lazy.lua')
-rw-r--r--lua/user/lazy.lua100
1 files changed, 58 insertions, 42 deletions
diff --git a/lua/user/lazy.lua b/lua/user/lazy.lua
index 6d94783..d676fc9 100644
--- a/lua/user/lazy.lua
+++ b/lua/user/lazy.lua
@@ -14,45 +14,57 @@ vim.opt.rtp:prepend(lazypath)
-- plugins installation and configuration
require("lazy").setup({
- -- lsp setup
- {
- -- LSP Support
- "neovim/nvim-lspconfig",
- -- lsp download manager
- "williamboman/mason.nvim",
- -- automatic lsp setup
- "williamboman/mason-lspconfig.nvim",
- -- additional formater support
- "stevearc/conform.nvim",
- -- additional linter support
- "mfussenegger/nvim-lint",
- -- mason autoinstaller for formatter's and linter's
- "WhoIsSethDaniel/mason-tool-installer.nvim",
- -- minimal snippet's support
- "dcampos/nvim-snippy",
- -- basic snippet's
- "honza/vim-snippets",
- -- cmp for autocompletion
- "hrsh7th/nvim-cmp",
- -- cmp nvim-lsp plugin
- "hrsh7th/cmp-nvim-lsp",
- -- cmp snippy support
- "dcampos/cmp-snippy",
- -- path comletion
- "hrsh7th/cmp-path",
- -- kind icons
- "onsails/lspkind.nvim",
- -- Minimal neovim modules for a lot of things
- "echasnovski/mini.nvim",
- -- Adds git related signs to the gutter, as well as utilities for managing changes
- "lewis6991/gitsigns.nvim",
- -- better ntrw
- "tpope/vim-vinegar",
- -- integration with tmux keybinds
- "christoomey/vim-tmux-navigator",
- -- auto close brackets
- "m4xshen/autoclose.nvim",
- },
+ -- lsp setup
+ {
+ -- LSP Support
+ "neovim/nvim-lspconfig",
+ -- lsp download manager
+ "williamboman/mason.nvim",
+ -- automatic lsp setup
+ "williamboman/mason-lspconfig.nvim",
+ -- additional formater support
+ "stevearc/conform.nvim",
+ -- additional linter support
+ "mfussenegger/nvim-lint",
+ -- mason autoinstaller for formatter's and linter's
+ "WhoIsSethDaniel/mason-tool-installer.nvim",
+ -- minimal snippet's support
+ "dcampos/nvim-snippy",
+ -- basic snippet's
+ "honza/vim-snippets",
+ -- cmp for autocompletion
+ {
+ "hrsh7th/nvim-cmp",
+ dependencies = {
+ -- cmp nvim-lsp plugin
+ "hrsh7th/cmp-nvim-lsp",
+ -- path comletion
+ "hrsh7th/cmp-path",
+ -- cmp snippy support
+ "dcampos/cmp-snippy",
+ },
+ },
+ -- kind icons
+ "onsails/lspkind.nvim",
+ -- Minimal neovim modules for a lot of things
+ "echasnovski/mini.nvim",
+ -- Adds git related signs to the gutter, as well as utilities for managing changes
+ "lewis6991/gitsigns.nvim",
+ -- better ntrw
+ "tpope/vim-vinegar",
+ -- integration with tmux keybinds
+ "christoomey/vim-tmux-navigator",
+ -- auto close brackets
+ "m4xshen/autoclose.nvim",
+ },
+
+ {
+ "dstein64/vim-startuptime",
+ cmd = "StartupTime",
+ init = function()
+ vim.g.startuptime_tries = 10
+ end,
+ },
{
"gbprod/nord.nvim",
@@ -84,9 +96,6 @@ require("lazy").setup({
vim.cmd.colorscheme("nord")
end,
},
- install = {
- colorscheme = { "nord" },
- },
-- Fuzzy Finder (files, lsp, etc)
{
@@ -116,6 +125,8 @@ require("lazy").setup({
},
},
}, {
+
+ -- lazy options
performance = {
rtp = {
disabled_plugins = {
@@ -127,4 +138,9 @@ require("lazy").setup({
},
},
},
+ install = {
+ colorscheme = { "nord" },
+ },
+ checker = { enabled = true },
+ -- defaults = {lazy = true},
})