Open jgkamat opened 6 years ago
This is because ranger-revert-appearance
is not being run on buffers that are opened prior to ranger being run, because ranger-preview-buffers
does not contain buffers opened before ranger starts.
Maybe a solution would be to keep track of buffers used as preview buffers and revert them if they are used.
Confirm this still occurs with a recent ranger, MELPA version 20200607.2002.
If the configuration option:
(setq ranger-show-literal nil)
is set, hl-line-mode is left enabled on buffers after entering ranger.
q
hl-line-mode
is now enabled on the file being viewed.See https://github.com/ralesi/ranger.el/issues/13 as well.