Skip to content

Commit

Permalink
Add swift-ts-mode as major mode
Browse files Browse the repository at this point in the history
  • Loading branch information
huanie committed Sep 3, 2024
1 parent f876874 commit 1d67467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsp-sourcekit.el
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ the `lsp-sourcekit-executable' on PATH, try it with xcrun."
(lsp-register-client
(make-lsp-client :new-connection (lsp-stdio-connection
(lambda ()(cons lsp-sourcekit-executable lsp-sourcekit-extra-args)))
:major-modes '(swift-mode)
:major-modes '(swift-mode swift-ts-mode)
:server-id 'sourcekit-ls)))

(provide 'lsp-sourcekit)
Expand Down

0 comments on commit 1d67467

Please sign in to comment.