We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 791bd42 commit 200776aCopy full SHA for 200776a
lsp-ltex.el
@@ -276,7 +276,7 @@ This is use to active language server and check if language server's existence."
276
(tar (car gz-files))
277
(fn (file-name-nondirectory (lsp-ltex--s-replace ".tar.gz" "" tar))))
278
(lsp-ltex--s-replace "ltex-ls-" "" fn))
279
- (gethash "ltex-ls" (json-parse-string (shell-command-to-string "ltex-ls -V")))))
+ (ignore-errors (gethash "ltex-ls" (json-parse-string (shell-command-to-string "ltex-ls -V"))))))
280
281
(defun lsp-ltex--latest-version ()
282
"Return the latest version from remote repository."
0 commit comments