Skip to content

Commit

Permalink
Use the new list lsp-ruff-ruff-args under new-connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Daisuke897 committed Sep 16, 2024
1 parent 5e036a8 commit 7e6ea8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/lsp-ruff.el
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Previous ruff-lsp should change this to (\"ruff-lsp\")"
(lsp-register-client
(make-lsp-client
:new-connection (lsp-stdio-connection
(lambda () lsp-ruff-server-command))
(lambda () (append lsp-ruff-server-command lsp-ruff-ruff-args)))
:activation-fn (lsp-activate-on "python")
:server-id 'ruff
:priority -2
Expand Down

0 comments on commit 7e6ea8a

Please sign in to comment.