From 1d6746703d8210efaa4e3003c931b387accf45bf Mon Sep 17 00:00:00 2001 From: Huan Nguyen Date: Tue, 3 Sep 2024 15:49:32 +0200 Subject: [PATCH] Add swift-ts-mode as major mode --- lsp-sourcekit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsp-sourcekit.el b/lsp-sourcekit.el index 6b8b830..6edc87b 100644 --- a/lsp-sourcekit.el +++ b/lsp-sourcekit.el @@ -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)