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

Persist highlighting status when changing color schemes #54

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Dec 20, 2020

  1. Persist highlighting on color scheme change

    Well-written Vim color schemes run the command :highlight clear to
    remove the highlight groups set by a previous color scheme.
    Unfortunately, this also removes the internal highlight group set by
    vim-exchange, effectively disabling vim-exchange's highlighting, and
    running :XchangeHighlightToggle does not reenable the plugin's
    highlighting.
    
    In this commit, this is fixed by adding an autocmd to link the
    _exchange_region highlight group back to ExchangeRegion when the color
    scheme is changed and the highlighting is enabled.
    jchros committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    e131c63 View commit details
    Browse the repository at this point in the history
  2. Revert "Merge pull request tommcdo#53 from habamax/master"

    This reverts commit 17f1a2c, reversing
    changes made to 13d3895.
    jchros committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    a25d47f View commit details
    Browse the repository at this point in the history
  3. Silence "No matching autocommands" warning

    The warning appeared when disabling the highlighting of exchange
    regions.
    jchros committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    aa58ccd View commit details
    Browse the repository at this point in the history