From a2e2b5cb141e4480eead950b76eaa2cc057c3004 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 15 Jul 2023 19:35:24 +0200 Subject: [PATCH] emacs: jdtls workaround is no longer necessary --- modules/development/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/development/default.nix b/modules/development/default.nix index 2e509956..86175121 100644 --- a/modules/development/default.nix +++ b/modules/development/default.nix @@ -45,12 +45,6 @@ "SPC p" '(flymake-goto-prev-error :which-key "Previous error") ) :config - ;;; eclipse-jdt breaks the spec which in turn breaks code actions - ;;; This behaviour can't be disabled and needs to be worked around - (cl-defmethod eglot-execute-command - (_server (_cmd (eql java.apply.workspaceEdit)) arguments) - "Eclipse JDT breaks spec and replies with edits as arguments." - (mapc #'eglot--apply-workspace-edit arguments)) ;;; eglot replaces company-backends with '(company-capf). I still ;;; want company-yasnippet as well though (add-to-list 'eglot-stay-out-of "company")