Commit e2b6e2a
fix: LSP start logic (#1504)
* Revert "fix: remove manual `LspStart`, close #1478. (#1479)"
This reverts commit 7dab4b9.
* Revert "fixup(#1466): load lsp config with proper event. (#1472)"
This reverts commit 53eeeec.
* fix: LSP start logic
This should acc fix #1472 and #1479 cuz iirc the root cause was that lspconfig
changed how `LspStart` works. Now it only starts one _specific_ server (passed
via the first argument), instead of starting all matching servers automatically.
So we gotta manually start all the servers that match the current filetype
instead.
Signed-off-by: Jint-lzxy <[email protected]>
* fix: redundant return
Signed-off-by: Jint-lzxy <[email protected]>
* fix: invoke `:LspStart` correctly
Signed-off-by: Jint-lzxy <[email protected]>
---------
Signed-off-by: Jint-lzxy <[email protected]>
Co-authored-by: Jint-lzxy <[email protected]>1 parent b971fd0 commit e2b6e2a
File tree
3 files changed
+4
-13
lines changed- lua/modules
- configs
- completion
- editor
- plugins
3 files changed
+4
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 2 | | |
15 | 3 | | |
16 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments