Commit 135cee6
committed
fix(oxlint/lsp): run diagnostics after delayed worker initialization (#16244)
When the Client does not a configuration object in the `initialize` request, we delay the workspace worker start until we request later the configuration inside the `initialized` notification.
In the time, the client could already send `document/didOpen` notification, we should check here if we have already something in the file system.
- close oxc-project/oxc-zed#31
- close #153741 parent 99e6723 commit 135cee6
2 files changed
+29
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
191 | 195 | | |
192 | 196 | | |
193 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
194 | 201 | | |
| 202 | + | |
195 | 203 | | |
196 | | - | |
197 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
198 | 222 | | |
199 | 223 | | |
200 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
0 commit comments