[review] no extension in load! / rename interactive function
This commit is contained in:
parent
0f5c5bb288
commit
dc3c2f9e78
4 changed files with 5 additions and 5 deletions
|
@ -124,7 +124,7 @@ simpler."
|
||||||
|
|
||||||
;; Eglot specific helper, courtesy of MaskRay
|
;; Eglot specific helper, courtesy of MaskRay
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun eglot-ccls-inheritance-hierarchy (&optional derived)
|
(defun +cc/eglot-ccls-inheritance-hierarchy (&optional derived)
|
||||||
"Show inheritance hierarchy for the thing at point.
|
"Show inheritance hierarchy for the thing at point.
|
||||||
If DERIVED is non-nil (interactively, with prefix argument), show
|
If DERIVED is non-nil (interactively, with prefix argument), show
|
||||||
the children of class at point."
|
the children of class at point."
|
||||||
|
|
|
@ -241,7 +241,7 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e
|
||||||
(map! :localleader
|
(map! :localleader
|
||||||
:after cc-mode
|
:after cc-mode
|
||||||
:map c++-mode-map
|
:map c++-mode-map
|
||||||
:n :desc "Show type inheritance hierarchy" "ct" #'eglot-ccls-inheritance-hierarchy)
|
:n :desc "Show type inheritance hierarchy" "ct" #'+cc/eglot-ccls-inheritance-hierarchy)
|
||||||
|
|
||||||
;; NOTE : This setting is untested yet
|
;; NOTE : This setting is untested yet
|
||||||
(after! eglot
|
(after! eglot
|
||||||
|
|
|
@ -14,6 +14,6 @@
|
||||||
(set-popup-rule! "^\\*eglot-help" :size 0.35 :quit t :select t)
|
(set-popup-rule! "^\\*eglot-help" :size 0.35 :quit t :select t)
|
||||||
(when (featurep! :checkers syntax)
|
(when (featurep! :checkers syntax)
|
||||||
(after! flycheck
|
(after! flycheck
|
||||||
(load! "autoload/flycheck-eglot.el")))
|
(load! "autoload/flycheck-eglot")))
|
||||||
(set-lookup-handlers! 'eglot--managed-mode
|
(set-lookup-handlers! 'eglot--managed-mode
|
||||||
:documentation #'+eglot/documentation-lookup-handler))
|
:documentation #'+eglot/documentation-lookup-handler))
|
||||||
|
|
|
@ -9,5 +9,5 @@ working on that project after closing the last buffer.")
|
||||||
|
|
||||||
;; TODO : set eglot-events-buffer-size to nil in doom-debug-mode
|
;; TODO : set eglot-events-buffer-size to nil in doom-debug-mode
|
||||||
(if (featurep! +eglot)
|
(if (featurep! +eglot)
|
||||||
(load! "+eglot.el")
|
(load! "+eglot")
|
||||||
(load! "+lsp.el"))
|
(load! "+lsp"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue