-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in post-command-hook (file-error "Doing vfork" "Not a directory") #9
Comments
Your settings looks correct. Maybe try https://github.com/emacs-languagetool/lsp-ltex?tab=readme-ov-file#-quickstart section. 🤔 |
Using |
I am with a working setup now. Firstly, in my Is this package expected to work with Thank you for your attention! |
It should... I will need to investigate this. May be some setup has changed overtime. Just for the clarification, does |
Oh! I think I misspelled the version, the version that I tried is For clarity, in my setup the This is the minimal ;; 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 lsp-mode
:straight t)
(use-package lsp-ltex
:straight t
:hook
(text-mode . (lambda ()
(require 'lsp-ltex)
(lsp)))
:init
(setq lsp-ltex-version "16.0.0")) This is the minimal (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-ltex-server-path "/usr/share/ltex-ls/")) When I open a
Finally, in the
Note that |
I've been trying and I could not configure and use
eglot-ltex
. I open any file that is assigned totext-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 ofltex-ls --version
:The error logged to
*Messages*
isMinimal
init.el
fileCommand that I used to run the minimal configuration:
I hope this is sufficient to reproduce this error. Otherwise, let me know.
The text was updated successfully, but these errors were encountered: