Skip to content

Commit

Permalink
Set ltex server type to tcpsocket (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
aepyornis authored Feb 28, 2024
1 parent c8daf17 commit 871e423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eglot-ltex.el
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ This file is use to activate the language server."

(defun eglot-ltex--server-command ()
"Generate startup command for LTEX language server."
(list (eglot-ltex--server-entry)))
(list (eglot-ltex--server-entry) "--server-type" "TcpSocket" "--port" :autoport))

(add-to-list 'eglot-server-programs
`(,eglot-ltex-active-modes . ,(eglot-ltex--server-command)))
Expand Down

0 comments on commit 871e423

Please sign in to comment.