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
– will not identify my.key as the key, but #{I18n.t('my.key')}.
Possible solutions:
When a match is found inside s:match(re, func, match_at_cursor), instead of returning the match immediately, keep looking for a better (i.e. shorter) match starting after the original match's start and finishing before the original match's finish.
Update the symbol and string patterns in s:key() to require something like I18n.t(ranslate)? at the start of the match. This would have to handle t, translate, I18n.t, I18n.translate and possibly others.
The text was updated successfully, but these errors were encountered:
A line like this:
– will not identify
my.key
as the key, but#{I18n.t('my.key')}
.Possible solutions:
s:match(re, func, match_at_cursor)
, instead of returning the match immediately, keep looking for a better (i.e. shorter) match starting after the original match's start and finishing before the original match's finish.patterns
ins:key()
to require something likeI18n.t(ranslate)?
at the start of the match. This would have to handlet
,translate
,I18n.t
,I18n.translate
and possibly others.The text was updated successfully, but these errors were encountered: