tune startup time

This commit is contained in:
asep komarudin 2023-03-08 13:52:16 +07:00
parent b7de30e431
commit a745438e75
8 changed files with 126 additions and 95 deletions

View file

@ -31,7 +31,7 @@ vim.g.pcode_transparent_mode = 0
-- 0 disable progress
-- 1 lualine lsp progress
-- 2 fidget progress
vim.g.pcode_progress = 2
vim.g.pcode_progress = 1
-- style
-- 0 = default

View file

@ -5,8 +5,6 @@ return {
"folke/noice.nvim",
dependencies = {
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify",
"nvim-treesitter/nvim-treesitter",
},
-- event = "BufWinEnter",
event = "VeryLazy",
@ -21,6 +19,12 @@ return {
progress = {
enabled = false,
},
hover = {
enabled = false,
},
signature = {
enabled = false,
},
},
},
keys = {
@ -97,7 +101,8 @@ return {
},
{
"hrsh7th/cmp-cmdline",
event = "BufWinEnter",
-- event = "BufWinEnter",
event = "VeryLazy",
config = function()
local cmp = require("cmp")
local mapping = {

View file

@ -2,7 +2,7 @@ return {
-- animations
{
"echasnovski/mini.animate",
event = "VeryLazy",
event = "BufRead",
opts = function()
-- don't use animate when scrolling with the mouse
local mouse_scrolled = false