neovim

mrgrouse's beloved, handmade neovim configuration
Log | Files | Refs | README

commit 657f9c56b3cfb694ada6f8ae5cda27fd86771b79
parent 047a4e909c1050f8002deccdcfc1151b24df85b7
Author: mrgrouse <bdmfegys@duck.com>
Date:   Wed,  2 Jul 2025 06:32:39 -0400

lua/conform.lua: set up lua-format and clang-format as formatters

Diffstat:
Mlua/plugins/conform.lua | 19++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/lua/plugins/conform.lua b/lua/plugins/conform.lua @@ -1,8 +1,13 @@ -return { "stevearc/conform.nvim", - opts = { - formatters_by_ft = { - lua = { "luaformatter" }, - c = { "clang-format" }, - }, - }, +return { + "stevearc/conform.nvim", + opts = { + formatters_by_ft = { + lua = {"lua-format"}, + c = {"clang-format"}, + c_sharp = {"clang-format"}, + -- c++ = {"clang-format"}, + json = {"clang-format"}, + javascript = {"clang-format"} + } + } }