Closed AmjadHD closed 1 year ago
What if you change this line (https://github.com/sublimelsp/LSP-pyright/blob/1146b23598acb0f0363ab6e51605692122bf367a/syntaxes/pyright.sublime-syntax#L8) to Packages/LSP-pyright/syntaxes/Python.sublime-syntax
?
It's likely you have a custom syntax which uses version:1
and LSP-pyright accidentally wants to inherit from it. The default Python has been migrate to version:2
in ST 4152.
Likely fixed by https://github.com/sublimelsp/LSP-pyright/commit/9cd3f49c7508bf6cb187f7bb29b136f78310c381. LSP-pyright 1.2.42
released.
We may remove Packages/LSP-pyright/syntaxes/Python.sublime-syntax
from this Package and just inherit from the default Python syntax, which also uses version:2
now. But what's the decent migration method on our side?
It's fixed. Thanks.
ST 4152 LSP 1.24.0 LSP-Pyright 1.1.157