dotfiles/vscode/.vscode/extensions/donjayamanne.python-environment-manager-1.2.4/pythonFiles/run-jedi-language-server.py
Errol Sancaktar ff17c17e23 vscode
2024-06-14 09:31:58 -06: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())