LazyVim.LazyVim/lua/lazyvim
Junyi Liu 66c3577bc7
perf(java): setting opts.dap_main to false to disable main class scan (#5391)
## 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.
2025-01-20 13:16:14 +01:00
..
config chore(main): release 14.7.0 (#5398) 2025-01-14 23:44:06 +01:00
plugins perf(java): setting opts.dap_main to false to disable main class scan (#5391) 2025-01-20 13:16:14 +01:00
util feat(extras): added extra for snacks picker (#5368) 2025-01-14 22:54:12 +01:00
health.lua fix(health): added curl to health checks 2024-12-14 14:42:21 +01:00
init.lua fix: add shim for vim.uv just in case someone upgrades lazyvim before lazy 2024-03-22 10:30:35 +01:00
types.lua style: better types for vim.api.nvim_create_autocmd 2024-06-07 23:02:47 +02:00