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', {