From b93d1344b50b7ba48084c055d1b5094ed10fd620 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Wed, 8 Nov 2023 13:04:22 +0700 Subject: [PATCH] Emacs: better eldoc/lsp setting, COMMET no tangle --- .config/emacs/init.org | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.config/emacs/init.org b/.config/emacs/init.org index 61edafe..90caf8d 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -961,10 +961,10 @@ The theme of `C-x 4` bindings is that they operate on other windows, so this fun (global-set-key (kbd "s-") #'joe/resize-frames) #+end_src - +**** COMMENT Unused for now Ace Window will show a hint if there are more than 2 windows, but I don't really use it -#+begin_src emacs-lisp :tangle no +#+begin_src emacs-lisp (require 'ace-window) (global-set-key (kbd "C-x o") #'ace-window) @@ -972,7 +972,7 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really #+end_src -#+begin_src emacs-lisp :tangle no +#+begin_src emacs-lisp ;; TODO Prot help improving workflow (global-set-key (kbd "C-`") #'window-toggle-side-windows) @@ -1988,7 +1988,8 @@ the right frame, I'm going to use the frame's name to close and remove the hook ;; (flymake-mode -1) ;; Disable it completely until we find out how the hell we can toggle it (setq eglot-stay-out-of '(flymake)) - (setq eglot-stay-out-of '()) + ;; (setq eglot-stay-out-of '()) + (setq eldoc-echo-area-use-multiline-p nil) (setq eldoc-idle-delay 0.15) ;; (setq eglot-stay-out-of '()) ;; (add-hook 'eglot-managed-mode-hook (lambda () (flymake-mode -1)))