optimized loading a bit

This commit is contained in:
William Ball 2024-10-08 21:48:08 -07:00
parent 44625f1ccf
commit a04992ea8b
3 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,7 @@
return { return {
{ {
'whonore/Coqtail', 'whonore/Coqtail',
event = { 'BufReadPre *.v', 'BufNewFile *.v' },
init = function() init = function()
vim.g.loaded_coqtail = 1 vim.g.loaded_coqtail = 1
vim.g['coqtail#supported'] = 0 vim.g['coqtail#supported'] = 0
@ -8,6 +9,7 @@ return {
}, },
{ {
'tomtomjhj/coq-lsp.nvim', 'tomtomjhj/coq-lsp.nvim',
event = { 'BufReadPre *.v', 'BufNewFile *.v' },
opts = { opts = {
autostart = true, autostart = true,
}, },

View file

@ -42,8 +42,10 @@ return {
{ {
'j-hui/fidget.nvim', 'j-hui/fidget.nvim',
config = true, config = true,
event = 'VeryLazy',
}, },
{ {
'onsails/lspkind.nvim' 'onsails/lspkind.nvim',
event = 'VeryLazy',
} }
} }

View file

@ -5,7 +5,10 @@ return {
event = 'VeryLazy', event = 'VeryLazy',
config = true, config = true,
}, },
{ 'mateuszwieloch/automkdir.nvim' }, {
'mateuszwieloch/automkdir.nvim',
event = 'VeryLazy',
},
{ {
'NeogitOrg/neogit', 'NeogitOrg/neogit',
dependencies = { dependencies = {
@ -24,7 +27,8 @@ return {
{ '<leader>gd', ':DiffviewOpen<CR>', desc = 'Diffview' }, { '<leader>gd', ':DiffviewOpen<CR>', desc = 'Diffview' },
}) })
neogit.setup({}) neogit.setup({})
end end,
event = 'VeryLazy'
}, },
{ {
'windwp/nvim-autopairs', 'windwp/nvim-autopairs',