Add flymake popups, customise eldoc display to stop resizing echo area
This commit is contained in:
parent
c864ecbdef
commit
2376ef8016
|
@ -30,6 +30,7 @@
|
|||
consult-yasnippet
|
||||
|
||||
# ide-packages
|
||||
flymake-popon
|
||||
treesit-grammars.with-all-grammars
|
||||
treesit-auto
|
||||
apheleia
|
||||
|
|
|
@ -451,6 +451,13 @@
|
|||
:custom (direnv-always-show-summary nil)
|
||||
:config (direnv-mode +1))
|
||||
|
||||
(use-package eldoc
|
||||
:ensure t
|
||||
:custom
|
||||
(eldoc-echo-area-display-truncation-message nil)
|
||||
(eldoc-echo-area-prefer-doc-buffer t)
|
||||
(eldoc-echo-area-use-multiline-p nil))
|
||||
|
||||
(use-package eglot
|
||||
:ensure t
|
||||
:bind (("C-c c e" . eglot)
|
||||
|
@ -473,6 +480,12 @@
|
|||
:bind (("C-c C-." . flymake-goto-next-error)
|
||||
("C-c C-," . flymake-goto-prev-error)))
|
||||
|
||||
(use-package flymake-popon
|
||||
:ensure t
|
||||
:after flymake
|
||||
:config
|
||||
(global-flymake-popon-mode +1))
|
||||
|
||||
(setq project-switch-use-entire-map t
|
||||
project-switch-commands 'project-dired)
|
||||
|
||||
|
|
|
@ -540,6 +540,16 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
:config (direnv-mode +1))
|
||||
#+END_SRC
|
||||
|
||||
** Eldoc
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(use-package eldoc
|
||||
:ensure t
|
||||
:custom
|
||||
(eldoc-echo-area-display-truncation-message nil)
|
||||
(eldoc-echo-area-prefer-doc-buffer t)
|
||||
(eldoc-echo-area-use-multiline-p nil))
|
||||
#+end_src
|
||||
|
||||
** Eglot LSP
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package eglot
|
||||
|
@ -567,6 +577,15 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
:bind (("C-c C-." . flymake-goto-next-error)
|
||||
("C-c C-," . flymake-goto-prev-error)))
|
||||
#+end_src
|
||||
|
||||
*** Diagnostics in popup
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(use-package flymake-popon
|
||||
:ensure t
|
||||
:after flymake
|
||||
:config
|
||||
(global-flymake-popon-mode +1))
|
||||
#+end_src
|
||||
** Project
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq project-switch-use-entire-map t
|
||||
|
|
Loading…
Reference in a new issue