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

View file

@ -29,6 +29,7 @@ return {
-- Makes a best effort to setup the various debuggers with
-- reasonable debug configurations
automatic_setup = true,
automatic_installation = true,
-- You can provide additional configuration to the handlers,
-- see mason-nvim-dap README for more information
@ -38,7 +39,8 @@ return {
-- online, please don't ask me how to install them :)
ensure_installed = {
-- Update this to ensure that you have the debuggers for the langs you want
'delve',
'java-test',
'java-debug-adapter',
},
}