fix: lazy loading of conform and which-key, raise conform timeout
This commit is contained in:
parent
c7d14d5633
commit
77a1e09678
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
return {
|
||||
"folke/which-key.nvim",
|
||||
--event = { "BufReadPre", "BufNewFile" },
|
||||
event = "VeryLazy",
|
||||
init = function()
|
||||
vim.o.timeout = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue