Skip to content

Commit f89e7f2

Browse files
author
JohnC32
authored
update lsp-dependency comment per removal of lsp-clients.el (#2382)
1 parent a688ed7 commit f89e7f2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lsp-mode.el

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6950,10 +6950,11 @@ typescript-language-server requires both the server and the
69506950
typescript compiler. If you've installed them in a team shared
69516951
read-only location, you can instruct lsp-mode to use them via
69526952

6953-
(eval-after-load 'lsp-clients
6954-
'(progn
6955-
(lsp-dependency 'typescript-language-server `(:system ,tls-exe))
6956-
(lsp-dependency 'typescript `(:system ,ts-js))))
6953+
(eval-after-load 'lsp-mode
6954+
'(progn
6955+
(require 'lsp-javascript)
6956+
(lsp-dependency 'typescript-language-server `(:system ,tls-exe))
6957+
(lsp-dependency 'typescript `(:system ,ts-js))))
69576958

69586959
where tls-exe is the absolute path to the typescript-language-server
69596960
executable and ts-js is the absolute path to the typescript compiler

0 commit comments

Comments
 (0)