diff --git a/lsp-bridge.el b/lsp-bridge.el index 6cd409420d..105f59e223 100644 --- a/lsp-bridge.el +++ b/lsp-bridge.el @@ -1232,6 +1232,8 @@ So we build this macro to restore postion after code format." ;; start epc server and set `lsp-bridge-server-port' (lsp-bridge--start-epc-server) (let* ((lsp-bridge-args (append + (when (equal lsp-bridge-python-command "pipx") + (list "run")) (list lsp-bridge-python-file) (list (number-to-string lsp-bridge-server-port)) (when lsp-bridge-enable-profile diff --git a/lsp_bridge.py b/lsp_bridge.py index 68e14ae286..69ceb6291d 100755 --- a/lsp_bridge.py +++ b/lsp_bridge.py @@ -1,6 +1,19 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +# /// script +# dependencies = [ +# "epc", +# "orjson", +# "sexpdata", +# "six", +# "setuptools", +# "paramiko", +# "rapidfuzz", +# "watchdog", +# ] +# /// + # Copyright (C) 2022 Andy Stewart # # Author: Andy Stewart