diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2022-11-17 08:20:50 -0500 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2022-11-17 08:20:50 -0500 |
commit | c85004a0c3639d166efb511a5e0c06409348ce1e (patch) | |
tree | c484cc9998b3c52c7fb30afdeeabcdad39ef792c | |
parent | a84954287fe4a9cc742aa82d6c399f9c038c7aae (diff) |
Hover at point mode for eldoc, awesome!
-rw-r--r-- | init.el | 2 | ||||
-rw-r--r-- | lisp/general.el | 12 |
2 files changed, 12 insertions, 2 deletions
@@ -64,7 +64,7 @@ '(org-agenda-files (list org-directory)) '(org-directory "~/Documents/org") '(package-selected-packages - '(company-quickhelp hl-todo python-mode drag-stuff org-bullets git-gutter-fringe git-gutter vterm-toggle vterm minimap neotree good-scroll counsel ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org))) + '(eldoc-box company-quickhelp hl-todo python-mode drag-stuff org-bullets git-gutter-fringe git-gutter vterm-toggle vterm minimap neotree good-scroll counsel ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org))) ;;; init.el ends here (custom-set-faces diff --git a/lisp/general.el b/lisp/general.el index 80096a1..e78e86e 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -35,6 +35,9 @@ ;; Line numbers (global-linum-mode 1) +;; Smart parentheses +(smartparens-global-mode 1) + ;; Minimap (require 'minimap) (minimap-mode 1) @@ -250,7 +253,14 @@ (eglot-autoshutdown t) :ensure t :defer 3) -;(set-face-background 'eglot-highlight-symbol-face "lemon chiffon") + + +(use-package eldoc-box + :ensure t + :defer t) + +(eldoc-box-hover-at-point-mode 1) +(add-hook 'eglot-managed-mode-hook #'eldoc-box-hover-at-point-mode t) ;; Vterm (require 'vterm) |