fix: Removed buggy auto-formatting
This commit is contained in:
@@ -50,6 +50,11 @@ return {
|
|||||||
return
|
return
|
||||||
end
|
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.
|
-- Create an autocmd that will run *before* we save the buffer.
|
||||||
-- Run the formatting command for the LSP that has just attached.
|
-- Run the formatting command for the LSP that has just attached.
|
||||||
vim.api.nvim_create_autocmd('BufWritePre', {
|
vim.api.nvim_create_autocmd('BufWritePre', {
|
||||||
|
|||||||
Reference in New Issue
Block a user