Skip to content

Commit

Permalink
Support "pipx run" command as lsp-bridge-python-command
Browse files Browse the repository at this point in the history
  • Loading branch information
zonuexe committed Nov 5, 2024
1 parent 480c5bd commit 1990bb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lsp-bridge.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1990bb8

Please sign in to comment.