dotfiles/vscode/.vscode/extensions/ms-python.python-2024.10.0-darwin-arm64/python_files/run-jedi-language-server.py
Errol Sancaktar 5f8db31398 alacritty
2024-07-15 17:06:13 -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())