fsharp / emacs-fsharp-mode

F# Emacs mode
Apache License 2.0
205 stars 62 forks source link

Eglot does not start #338

Open sonicpro opened 3 months ago

sonicpro commented 3 months ago

Description

When in fsharp-mode, running M-x eglot thows an error.

Repro steps

Installed eglot-fsharp 2.0 and eglot-fsharp-mode 2.0 from melpa. Using the following init file (excerpt):

(require 'eglot-fsharp)
(require 'fsharp-mode)
(setq-default fsharp-indent-offset 2)
  1. Open a fsharp file with .fsx extension.

  2. Start eglot by M-x eglot.

Expected behavior

Eglot should connect to a language server.

Actual behavior

Fsautocomplete language server installs. Then occurs an error. See it on the third line:

Contacting host: azuresearch-usnc.nuget.org:443
Installing fsautocomplete version 0.70.1
slot-missing: Invalid slot name: "#<eglot-fsautocomplete eglot-fsautocomplete-1581f6d1f996>", :events-buffer-config
Quit 

Eglot does not start.

Related information