summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2022-11-17 08:20:50 -0500
committerMatthew Kosarek <mattkae@protonmail.com>2022-11-17 08:20:50 -0500
commitc85004a0c3639d166efb511a5e0c06409348ce1e (patch)
treec484cc9998b3c52c7fb30afdeeabcdad39ef792c
parenta84954287fe4a9cc742aa82d6c399f9c038c7aae (diff)
Hover at point mode for eldoc, awesome!
-rw-r--r--init.el2
-rw-r--r--lisp/general.el12
2 files changed, 12 insertions, 2 deletions
diff --git a/init.el b/init.el
index 452324d..8a3aa47 100644
--- a/init.el
+++ b/init.el
@@ -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)