dart_language_server broken. #862
-
From the dart-lang official document, dart start to support dart language-server --client-id my-editor.my-plugin --client-version 1.2 Please check. https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/tool/lsp_spec/README.md
LSP transcript - M-x eglot-events-buffer (mandatory unless Emacs inoperable)Debugger entered--Lisp error: (error "[eglot] Can't find an Eglot events buffer!") Minimal configuration (mandatory)(require 'eglot_init)
(add-hook 'dart-mode-hook 'eglot-ensure) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
I don't know when to use (setq eglot-server-programs
`((dart-mode . ("dart" "language-server")))) |
Beta Was this translation helpful? Give feedback.
-
This default settings never work with recent version dart, i consider this as a issue? |
Beta Was this translation helpful? Give feedback.
-
The default |
Beta Was this translation helpful? Give feedback.
The default
dart-mode
entry ineglot-server-programs
should now fix the issues described.