Commit 10c9199
committed
Fix lint being ignored for kts script
The lint has been ignored for kts script because the linting filtering is done based on the files enumerated when the workspace is opened. Setting for enabling script file is ignored as that workspace load happens before configuration is loaded.
Easy workaround for the issue is, firstly filter the file for linting based on the matcher, then open the files dynamically if it's not been loaded at the workspace init time.1 parent 6d9e61b commit 10c9199
File tree
2 files changed
+10
-3
lines changed- server/src/main/kotlin/org/javacs/kt
2 files changed
+10
-3
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
102 | 109 | | |
103 | 110 | | |
104 | 111 | | |
| |||
193 | 200 | | |
194 | 201 | | |
195 | 202 | | |
196 | | - | |
| 203 | + | |
197 | 204 | | |
198 | 205 | | |
199 | 206 | | |
| |||
0 commit comments