Skip to content

Commit

Permalink
fix: create ConformInfo regardless of setup (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
saccarosium authored Dec 25, 2024
1 parent edafd10 commit 9180320
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lua/conform/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions plugin/conform.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vim.api.nvim_create_user_command("ConformInfo", function()
require("conform.health").show_window()
end, { desc = "Show information about Conform formatters" })

0 comments on commit 9180320

Please sign in to comment.