feat(selectrum): Add +selectrum/search-symbol-at-point

This commit is contained in:
Edmund Miller 2021-02-19 20:48:34 -06:00 committed by Itai Y. Efrat
parent 5216ba411f
commit dfce5ddb17
2 changed files with 8 additions and 1 deletions

View file

@ -67,3 +67,8 @@ in the search."
If ARG (universal argument), include all files, even hidden or compressed ones."
(interactive "P")
(+selectrum/project-search arg initial-query default-directory))
;;;###autoload
(defun +selectrum/search-symbol-at-point ()
(interactive)
(consult-line (thing-at-point 'symbol)))