Commit 5ac9139
committed
feat(lsp): resolve language servers discovery-first
Rewrite mason-lspconfig around the shared resolver + lsp.lua ordering
(setup → user overrides → resolve). Per-filetype deferral is event-driven —
no hardcoded eager set: a listed bucket resolves that ft, a dotted variant
resolves its base bucket, an unlisted real-file ft drains the rest; enable()
attaches by the module's real filetypes so deferring is correctness-safe. The
user.configs.lsp override window records/replays per-server ops and closes so a
captured proxy can't re-globalize. yamlls/gh_actions_ls claim yaml.github;
yamlls prunes the traefik v2/v3 fileMatch conflict by pattern.1 parent 1cd3db7 commit 5ac9139
5 files changed
Lines changed: 994 additions & 149 deletions
File tree
- lua/modules/configs/completion
- servers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
26 | 11 | | |
27 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
28 | 16 | | |
29 | 17 | | |
30 | 18 | | |
| |||
0 commit comments