Chante nvim plugins loading options to improve startup time

This commit is contained in:
Alexander Navarro 2024-03-22 21:12:38 -03:00
parent 7b46aae1a1
commit cc3b1be7a6
10 changed files with 11 additions and 13 deletions

View file

@ -1,6 +1,5 @@
return {
"jackMort/ChatGPT.nvim",
event = "VeryLazy",
opts = {
api_key_cmd = nil,
yank_register = "+",

View file

@ -8,7 +8,7 @@ return { -- Change colors.none if not using a transparent background
integrations = {
cmp = true,
notify = true,
harpoon = true,
harpoon = false,
mason = true,
neogit = true,
noice = true,

View file

@ -33,7 +33,7 @@ return {
},
{
"danymat/neogen",
config = { snippet_engine = "luasnip" },
opts = { snippet_engine = "luasnip" },
dependencies = { "nvim-treesitter/nvim-treesitter" },
version = "*", -- stable releases
keys = {

View file

@ -60,7 +60,6 @@ return {
"nvim-lua/plenary.nvim", -- required
"nvim-telescope/telescope.nvim", -- optional
"sindrets/diffview.nvim", -- optional
"ibhagwan/fzf-lua", -- optional
},
config = true,
opts = {

View file

@ -1,6 +1,7 @@
return {
-- Detect tabstop and shiftwidth automatically
"tpope/vim-sleuth",
{ "nvim-tree/nvim-web-devicons", lazy = true },
{
"mbbill/undotree",
config = function()
@ -23,6 +24,7 @@ return {
},
{ "nvim-treesitter/nvim-treesitter-context" },
{
-- Color Picker
"uga-rosa/ccc.nvim",
event = "VeryLazy",
opts = {

View file

@ -1,6 +1,7 @@
return {
-- LSP Configuration & Plugins
"neovim/nvim-lspconfig",
event = { "BufReadPost", "BufNewFile", "BufWritePre" },
dependencies = {
-- Automatically install LSPs to stdpath for neovim
{ "williamboman/mason.nvim" },

View file

@ -1,5 +1,8 @@
return {
"williamboman/mason.nvim",
cmd = "Mason",
keys = { { "<leader>cm", "<cmd>Mason<cr>", desc = "Mason" } },
build = ":MasonUpdate",
opts = {
ensure_installed = {
"eslint_d",

View file

@ -2,14 +2,7 @@ return {
{
"kevinhwang91/nvim-bqf",
event = "VeryLazy",
dependencies = {
{
"junegunn/fzf",
build = function()
vim.fn["fzf#install"]()
end,
},
},
dependencies = {},
config = function()
local fn = vim.fn

View file

@ -1,6 +1,7 @@
return {
-- Highlight, edit, and navigate code
"nvim-treesitter/nvim-treesitter",
event = { "BufReadPost", "BufNewFile", "BufWritePre", "VeryLazy" },
dependencies = {
"nvim-treesitter/nvim-treesitter-textobjects",
"windwp/nvim-ts-autotag",