jdtsmith / outli

Simple comment-based outline folding for Emacs
GNU General Public License v3.0
104 stars 6 forks source link

Separete consult source for outli #11

Closed leafarbelm closed 8 months ago

leafarbelm commented 8 months ago

When using (setq use-package-enable-imenu-support t) with outli-mode packages and headings appear in the same consult source in consult-imenu:

image

Its possible to create a separated source for headings?

jdtsmith commented 8 months ago

Here's what I do:

(push '(?h "Headings")
    (plist-get (cdr (assoc 'emacs-lisp-mode consult-imenu-config)) :types))

But you should give consult-outline a try!

leafarbelm commented 8 months ago

After adding this snippet Its works exactly how i expected, maybe you should add this in the package i think it would be a good addition.

Thanks for the cool package!!