solorice/vscodium/extensions/ms-python.python-2022.4.1/pythonFiles/run-jedi-language-server.py
2022-04-28 21:17:01 +03:00

12 lines
324 B
Python

import sys
import os
# Add the lib path to our sys path so jedi_language_server can find its references
EXTENSION_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(EXTENSION_ROOT, "pythonFiles", "lib", "jedilsp"))
from jedi_language_server.cli import cli
sys.exit(cli())