dotfiles/vscode/.vscode/extensions/ms-python.python-2024.8.0/python_files/run-jedi-language-server.py
Errol Sancaktar ff17c17e23 vscode
2024-06-14 09:31:58 -06:00

12 lines
339 B
Python

import os
import sys
# 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, "python_files", "lib", "jedilsp"))
from jedi_language_server.cli import cli # noqa: E402
sys.exit(cli())