sublimelsp / LSP-pyright

Python support for Sublime's LSP plugin provided through microsoft/pyright.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pyright tooltip syntax can't be loaded

AmjadHD opened this issue · comments

image
image
ST 4152
LSP 1.24.0
LSP-Pyright 1.1.157

What if you change this line (

extends: Python.sublime-syntax
) 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 9cd3f49. 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.