LazyVim.LazyVim/lua/lazyvim/plugins/extras
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
..
ai perf(supermaven): add lazy-loading (#5183) 2024-12-19 15:41:11 +01:00
coding refactor(blink): color swatch icon upstreamed (#5141) 2025-01-17 10:00:30 +01:00
dap feat(snacks): added profiler keymaps 2024-12-12 13:47:29 +01:00
editor fix(snacks.picker): fix mapping for Projects for consistency (#5433) 2025-01-20 11:55:51 +01:00
formatting feat(extras): add biome formatter (#4448) 2024-11-16 07:34:21 +01:00
lang perf(java): setting opts.dap_main to false to disable main class scan (#5391) 2025-01-20 13:16:14 +01:00
linting feat(eslint): add option to disable eslint auto format (#4225) 2024-11-08 14:05:00 +01:00
lsp feat: moved neoconf.nvim to extras 2024-06-02 09:05:16 +02:00
test fix(neotest): disambiguous key map descriptions (#4374) 2024-11-08 13:37:09 +01:00
ui fix(mini.indentscope): disable snacks and indent-blankline scope 2024-12-12 16:44:28 +01:00
util feat(chezmoi): add snacks picker integration for chezmoi files (#5429) 2025-01-18 14:52:25 +01:00
vscode.lua fix(vscode): disable some snacks plugins in vscode. Closes #5124 2024-12-16 17:45:50 +01:00