From f282c5e64c27cef686a77f0653776aa52b4c6929 Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Sat, 31 Jul 2021 16:31:00 +0300 Subject: [PATCH] Disable hover eldoc in elixir --- lang/elixir.el | 1 + pkg/sys-specific.el | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lang/elixir.el b/lang/elixir.el index 64c14ba..df2319f 100644 --- a/lang/elixir.el +++ b/lang/elixir.el @@ -30,6 +30,7 @@ Other: _m_: iMenu (column-enforce-n 98) (lsp) (setq-local flycheck-check-syntax-automatically '(save mode-enabled)) + (setq-local lsp-eldoc-enable-hover nil) (define-key elixir-mode-map (kbd "") 'elixir-format) ;; If needed, switch the one below to false to disable documentation pop-ups diff --git a/pkg/sys-specific.el b/pkg/sys-specific.el index 899d6ec..f82c056 100644 --- a/pkg/sys-specific.el +++ b/pkg/sys-specific.el @@ -57,8 +57,8 @@ (setq mac-right-option-modifier 'meta) (setq mac-option-modifier nil)) (progn - (setq mac-right-option-modifier 'meta) - (setq mac-option-modifier nil)))) + (setq mac-option-modifier 'meta) + (setq mac-right-option-modifier nil)))) ;;;;;;;;; Mac-specific config ;;;;;;;;;;;;;;;;;;;;; (if IS-GNU