File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ This directory shoud contain a file matching groovy-language-server-*.jar"
89
89
:server-id 'html-ls ))
90
90
91
91
; ;; Typescript
92
- (defcustom lsp-clients-typescript-server " typescript-language-server "
92
+ (defcustom lsp-clients-typescript-server " javascript- typescript-stdio "
93
93
" The typescript-language-server executable to use.
94
94
Leave as just the executable name to use the default behavior of
95
95
finding the executable with `exec-path' ."
@@ -106,11 +106,10 @@ finding the executable with `exec-path'."
106
106
(defun lsp-typescript--ls-command ()
107
107
" Generate the language server startup command."
108
108
`(, lsp-clients-typescript-server
109
- " --stdio"
110
109
,@lsp-clients-typescript-server-args ))
111
110
112
111
(lsp-register-client
113
- (make-lsp-client :new-connection (lsp-stdio-connection '( " typescript-language-server " " --stdio " ))
112
+ (make-lsp-client :new-connection (lsp-stdio-connection (lsp- typescript--ls-command ))
114
113
:major-modes '(typescript-mode js-mode js2-mode rjsx-mode)
115
114
:server-id 'ts-ls ))
116
115
You can’t perform that action at this time.
0 commit comments