fix: lazy loading of conform and which-key, raise conform timeout

This commit is contained in:
Oliver Ladner 2025-11-19 11:20:12 +01:00
commit 77a1e09678
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,7 @@
-- Some things are from https://www.josean.com/posts/neovim-linting-and-formatting
return {
"stevearc/conform.nvim",
event = { "BufReadPre", "BufNewFile" },
enabled = true,
tag = "stable",
opts = {},
@ -33,7 +34,7 @@ return {
-- lsp_fallback = true,
lsp_format = "fallback",
async = false,
timeout_ms = 1000, -- default: 1000
timeout_ms = 2000, -- default: 1000
},
})
end,

View file

@ -1,6 +1,5 @@
return {
"folke/which-key.nvim",
--event = { "BufReadPre", "BufNewFile" },
event = "VeryLazy",
init = function()
vim.o.timeout = true