Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more fully override imenu configuration when using outshine's imenu #93

Merged
merged 1 commit into from
Mar 26, 2022

Commits on Mar 12, 2022

  1. more fully override imenu configuration when using outshine's imenu

    When using outshine's imenu functionality (from either `outshine-imenu` or
    `outshine-imenu-with-navi-regexp`), the variables that configure imenu behavior
    are locally overwritten in a `let*` form. However, it's important to also restore
    the default setting of `imenu-create-index-function` (which should be
    `imenu-default-create-index-function`).
    
    I noticed this bug when editing `R` files in `spacemacs`: the `lsp`
    configuration involves changing the value of `imenu-create-index-function`,
    which makes changes to the other variables inconsequential, and then outshine's
    attempt to change the way imenu works by binding `imenu-generic-expression` has
    no effect.
    dankessler committed Mar 12, 2022
    Configuration menu
    Copy the full SHA
    f4af4a1 View commit details
    Browse the repository at this point in the history