my configuration
This commit is contained in:
parent
58f2dbab70
commit
dc9f6a8b1f
8 changed files with 311 additions and 56 deletions
|
|
@ -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', {
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue