From 5daecb26ea1bfcf7219731cd7a92b36513042953 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 21 Aug 2024 21:20:41 +0200 Subject: [PATCH] Configure formatters --- lua/plugins/conform.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/plugins/conform.lua b/lua/plugins/conform.lua index dfea6bc..51aae05 100644 --- a/lua/plugins/conform.lua +++ b/lua/plugins/conform.lua @@ -27,11 +27,12 @@ return { -- Autoformat formatters_by_ft = { lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially - -- python = { "isort", "black" }, + python = { 'isort', 'black' }, -- -- You can use a sub-list to tell conform to run *until* a formatter -- is found. - -- javascript = { { "prettierd", "prettier" } }, + javascript = { { 'prettierd', 'prettier' } }, + java = { 'clang-format' }, }, }, }