mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
[review] no extension in load! / rename interactive function
This commit is contained in:
@ -124,7 +124,7 @@ simpler."
|
||||
|
||||
;; Eglot specific helper, courtesy of MaskRay
|
||||
;;;###autoload
|
||||
(defun eglot-ccls-inheritance-hierarchy (&optional derived)
|
||||
(defun +cc/eglot-ccls-inheritance-hierarchy (&optional derived)
|
||||
"Show inheritance hierarchy for the thing at point.
|
||||
If DERIVED is non-nil (interactively, with prefix argument), show
|
||||
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
|
||||
:after cc-mode
|
||||
: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
|
||||
(after! eglot
|
||||
|
@ -14,6 +14,6 @@
|
||||
(set-popup-rule! "^\\*eglot-help" :size 0.35 :quit t :select t)
|
||||
(when (featurep! :checkers syntax)
|
||||
(after! flycheck
|
||||
(load! "autoload/flycheck-eglot.el")))
|
||||
(load! "autoload/flycheck-eglot")))
|
||||
(set-lookup-handlers! 'eglot--managed-mode
|
||||
: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
|
||||
(if (featurep! +eglot)
|
||||
(load! "+eglot.el")
|
||||
(load! "+lsp.el"))
|
||||
(load! "+eglot")
|
||||
(load! "+lsp"))
|
||||
|
Reference in New Issue
Block a user