Skip to content

Commit 97ff36b

Browse files
authored
Pass server arguments to the lsp connection (#21)
The variable lsp-sourcekit-extra-args wasn’t used.
1 parent ae4aa87 commit 97ff36b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-sourcekit.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ the `lsp-sourcekit-executable' on PATH, try it with xcrun."
8080

8181
(lsp-register-client
8282
(make-lsp-client :new-connection (lsp-stdio-connection
83-
(apply-partially #'lsp-package-path 'sourcekit-lsp))
83+
(lambda ()(cons lsp-sourcekit-executable lsp-sourcekit-extra-args)))
8484
:major-modes '(swift-mode)
8585
:server-id 'sourcekit-ls)))
8686

0 commit comments

Comments
 (0)