You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But with history = true the passive indicators persist even after leaving the snippet (and for all the snippets in the history). What would it take to provide something like passive_inside_snippet to apply the virtual text only to the passive nodes in the current snippet?
The text was updated successfully, but these errors were encountered:
Ouh, that shouldn't be too hard.
I think extending the keys in the passive, active table by something like snippet_passive could be the best solution as it is the most flexible(if the highlight should stay even while outside the snippet it can be defined as snippet_passive(which would then extend to passive, if it is unspecified)).
What do you think?
If I understand correctly snippet_passive would do what passive currently does, which would be a breaking change. But I believe most users would rather expect passive to have that "passive only inside a snippet" behaviour, so to me it sounds good :)
I really like the idea of having an indicators for all the tabstops in a snippet as virtual text with the current one highlighted:
with:
But with
history = true
thepassive
indicators persist even after leaving the snippet (and for all the snippets in the history). What would it take to provide something likepassive_inside_snippet
to apply the virtual text only to the passive nodes in the current snippet?The text was updated successfully, but these errors were encountered: