From 615bd6ce378880ff3cb4bc7f2fc370495ab31017 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Thu, 24 Oct 2019 12:32:51 +0100 Subject: [PATCH] Expand readme.md section on handling quirky servers 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. --- lisp/progmodes/eglot.el | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 9a0960d7a96..75ce9376104 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2511,19 +2511,6 @@ If SKIP-SIGNATURE, don't try to send textDocument/signatureHelp." "Handle notification window/progress" (setf (eglot--spinner server) (list id title done message))) - -;;; 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))) - ;;; eclipse-jdt-specific ;;; -- 2.39.2