From 9180320205d250429f0f80e073326c674e2a7149 Mon Sep 17 00:00:00 2001 From: Luca Saccarola <96259932+saccarosium@users.noreply.github.com> Date: Wed, 25 Dec 2024 03:06:49 +0100 Subject: [PATCH] fix: create ConformInfo regardless of setup (#605) --- lua/conform/init.lua | 4 ---- plugin/conform.lua | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 plugin/conform.lua diff --git a/lua/conform/init.lua b/lua/conform/init.lua index 90574403..1f3f102f 100644 --- a/lua/conform/init.lua +++ b/lua/conform/init.lua @@ -222,10 +222,6 @@ M.setup = function(opts) end, }) end - - vim.api.nvim_create_user_command("ConformInfo", function() - require("conform.health").show_window() - end, { desc = "Show information about Conform formatters" }) end ---@param obj any diff --git a/plugin/conform.lua b/plugin/conform.lua new file mode 100644 index 00000000..4c0e5351 --- /dev/null +++ b/plugin/conform.lua @@ -0,0 +1,3 @@ +vim.api.nvim_create_user_command("ConformInfo", function() + require("conform.health").show_window() +end, { desc = "Show information about Conform formatters" })