diff --git a/lua/weeheavy/plugins/lsp/conform.lua b/lua/weeheavy/plugins/lsp/conform.lua index df78cea..2a99cae 100644 --- a/lua/weeheavy/plugins/lsp/conform.lua +++ b/lua/weeheavy/plugins/lsp/conform.lua @@ -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, diff --git a/lua/weeheavy/plugins/which-key.lua b/lua/weeheavy/plugins/which-key.lua index af5184f..91a84e3 100644 --- a/lua/weeheavy/plugins/which-key.lua +++ b/lua/weeheavy/plugins/which-key.lua @@ -1,6 +1,5 @@ return { "folke/which-key.nvim", - --event = { "BufReadPre", "BufNewFile" }, event = "VeryLazy", init = function() vim.o.timeout = true