my configuration

This commit is contained in:
Jacob Frøkjær Wortmann 2023-10-22 21:27:54 +02:00
parent 58f2dbab70
commit dc9f6a8b1f
8 changed files with 311 additions and 56 deletions

View file

@ -50,6 +50,11 @@ return {
return
end
-- disable auto format for java
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', {