ggandor / lightspeed.nvim

deprecated in favor of leap.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`conceallevel` not restored in operator-pending mode f/F/t/T

zeertzjq opened this issue · comments

Steps to reproduce:

  1. Open a .tex file with the following content:
\begin{document}
$\beta$
\end{document}
  1. :set conceallevel=2
  2. Press ytt
  3. conceallevel becomes 0

Operator-pending mode z and Z do restore conceallevel, but f/F/t/T don't.

Yep, indeed... In operator-pending mode for f/t I forgot to use the exit form that triggers the LightspeedLeave User event (which in turn triggers restoring the editor options). Thanks very much for reporting!