From 87d8237c7580471a604f6732ae6eb94bdd2fa9a9 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Mon, 10 Jun 2024 02:38:06 +0200 Subject: [PATCH] Make conform.nvim be lazy-loadable again The PR that disabled lazy loading (#818) was to fix plugin not being loaded before write. This sets up lazy to load conform before write. --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 88658ef3..f4de19ed 100644 --- a/init.lua +++ b/init.lua @@ -627,7 +627,8 @@ require('lazy').setup({ { -- Autoformat 'stevearc/conform.nvim', - lazy = false, + event = { 'BufWritePre' }, + cmd = { 'ConformInfo' }, keys = { { 'f',