Support auto-complete for `from=` same as `domain=`

This commit is contained in:
Raymond Hill 2023-11-03 20:19:19 -04:00
parent 6f8ce65765
commit 4c48148eb2
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ function initHints() {
matchRight[0] matchRight[0]
); );
} }
if ( matchLeft[0].startsWith('domain=') ) { if ( /^(domain|from)=/.test(matchLeft[0]) ) {
return getOriginHints(cursor, line); return getOriginHints(cursor, line);
} }
}; };