-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I've been trying and I could not configure and use eglot-ltex
. I open any file that is assigned to text-mode
and nothing happens. Similar error messages keep being logged in *Messages*
for different files. Please, let me know if I am missing something.
My Emacs version is 29.2
and Output of ltex-ls --version
:
{
"ltex-ls": "16.0.0",
"java": "21.0.2"
}
The error logged to *Messages*
is
Error in post-command-hook (#[0 "\303\301!\205�\0r\301q\210\304\305\300\242\306#\210
?\205�\0\307\310\311 \")\207" [(#0) #<buffer written-interview.org> eglot--managed-mode buffer-live-p remove-hook post-command-hook t apply eglot--connect eglot--guess-contact] 4]): (file-error "Doing vfork" "Not a directory")
Minimal init.el
file
;; straight package bootstrap
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name
"straight/repos/straight.el/bootstrap.el"
user-emacs-directory))
(bootstrap-version 6))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(use-package eglot)
(use-package eglot-ltex
:straight (eglot-ltex
:type git
:host github
:repo "emacs-languagetool/eglot-ltex")
:hook (text-mode . (lambda ()
(require 'eglot-ltex)
(eglot-ensure)))
:init
(setq eglot-languagetool-server-path "/usr/bin/ltex-ls"))
Command that I used to run the minimal configuration:
emacs -Q --init-directory=/tmp/emacs --eval '(load-file "init.el")'
I hope this is sufficient to reproduce this error. Otherwise, let me know.
Metadata
Metadata
Assignees
Labels
No labels