Skip to content

Conversation

pacastega
Copy link
Contributor

This commit adds a new user option haskell-decl-scan-sort-imenu to decide whether to sort the candidates in imenu (done in function haskell-ds-create-imenu-index).

When t (the default), sort the candidates alphabetically as before. When nil, present them in the same order as they appear in the file (note that this requires reversing the list of candidates, since it is built in such a way that the canditates appearing later in the file are appended to the front of the list).

@purcell purcell merged commit 7f452cc into haskell:master Feb 10, 2025
11 checks passed
@purcell
Copy link
Member

purcell commented Feb 10, 2025

Makes sense, merging, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants