style: Rename custom functions from slash to dash convention

This commit is contained in:
2026-06-27 09:15:48 +08:00
parent 33ced00fc4
commit 315fb0ef87
8 changed files with 45 additions and 41 deletions

View File

@@ -57,7 +57,7 @@
:init
(setq prefix-help-command 'embark-prefix-help-command)
:config
(defun my/embark-preview ()
(defun my-embark-preview ()
"Previews candidate in vertico buffer, unless it's a consult command."
(interactive)
(unless (bound-and-true-p consult--preview-function)
@@ -111,11 +111,7 @@ targets."
:around #'embark-hide-which-key-indicator))))
;; embark-consult
(use-package embark-consult
:config
(add-hook
'embark-collect-mode-hook
#'consult-preview-at-point-mode))
(use-package embark-consult)
;; eglot
(use-package eglot