Also remove explicit cquery support (cquery seems to be dead anyway).
* README.md (Handling quirky servers): New section.
* eglot.el (eglot-initialization-options eglot-cquery): Remove.
"Handle notification window/progress"
(setf (eglot--spinner server) (list id title done message)))
-\f
-;;; cquery-specific
-;;;
-(defclass eglot-cquery (eglot-lsp-server) ()
- :documentation "Cquery's C/C++ langserver.")
-
-(cl-defmethod eglot-initialization-options ((server eglot-cquery))
- "Passes through required cquery initialization options"
- (let* ((root (car (project-roots (eglot--project server))))
- (cache (expand-file-name ".cquery_cached_index/" root)))
- (list :cacheDirectory (file-name-as-directory cache)
- :progressReportFrequencyMs -1)))
-
\f
;;; eclipse-jdt-specific
;;;