From ba189c73cc14b0371e58d6a062c399f9bb5de3ad Mon Sep 17 00:00:00 2001 From: Nicholas Novak <34256932+NickyBoy89@users.noreply.github.com> Date: Thu, 28 Mar 2024 11:13:30 -0700 Subject: [PATCH] fix: Removed buggy auto-formatting --- nvim/.config/nvim/lua/kickstart/plugins/autoformat.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nvim/.config/nvim/lua/kickstart/plugins/autoformat.lua b/nvim/.config/nvim/lua/kickstart/plugins/autoformat.lua index 4cdea33..7716347 100644 --- a/nvim/.config/nvim/lua/kickstart/plugins/autoformat.lua +++ b/nvim/.config/nvim/lua/kickstart/plugins/autoformat.lua @@ -50,6 +50,11 @@ return { return end + -- There are some issues with `jdtls`'s autoformatter, so skip + if client.name == 'jdtls' then + return + end + -- Create an autocmd that will run *before* we save the buffer. -- Run the formatting command for the LSP that has just attached. vim.api.nvim_create_autocmd('BufWritePre', {