Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/govim: do not remove highlights on delta when auto-highlighting (#…
…857) In 3139f79 I incorrectly removed all reference highlights when a delta is received. However, the logic prior to that change was that highlights would only be moved (even in insert mode) if the cursor falls outside of a highlighted range. Therefore, we adopt exactly the logic that @leitzler proposed in #852 to only remove highlights on delta if we are in manual highlighting mode.
- Loading branch information