mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +00:00
## Description
For large Java project, calling
`require("jdtls.dap").setup_dap_main_class_configs(opts.dap_main)` has a
huge performance impact on the LSP. I tested on a Java project with 3.7K
java source files and 12K other files, a simple go_definition can take
about 20-30 seconds.
This change allow user to set the `opts.dap_main` to false so we can
skip the main class scan. By using the `.lazy.lua` project specific
setting, we can easily customize this option per project.
## Related Issue(s)
#5387
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
|
||
|---|---|---|
| .. | ||
| compat | ||
| extras | ||
| lsp | ||
| coding.lua | ||
| colorscheme.lua | ||
| editor.lua | ||
| formatting.lua | ||
| init.lua | ||
| linting.lua | ||
| treesitter.lua | ||
| ui.lua | ||
| util.lua | ||
| xtras.lua | ||