Merge pull request #1685 from zed-industries/vim-text-objects

Vim Text Objects and Numeric Repitions
This commit is contained in:
Kay Simmons 2022-10-11 16:36:19 -07:00 committed by GitHub
commit 81a3a22379
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 3861 additions and 2462 deletions

View file

@ -117,6 +117,7 @@ pub fn test(args: TokenStream, function: TokenStream) -> TokenStream {
cx.font_cache().clone(),
cx.leak_detector(),
#first_entity_id,
stringify!(#outer_fn_name).to_string(),
);
));
cx_teardowns.extend(quote!(
@ -149,7 +150,8 @@ pub fn test(args: TokenStream, function: TokenStream) -> TokenStream {
#cx_vars
cx.foreground().run(#inner_fn_name(#inner_fn_args));
#cx_teardowns
}
},
stringify!(#outer_fn_name).to_string(),
);
}
}
@ -187,7 +189,8 @@ pub fn test(args: TokenStream, function: TokenStream) -> TokenStream {
#num_iterations as u64,
#starting_seed as u64,
#max_retries,
&mut |cx, _, _, seed, is_last_iteration| #inner_fn_name(#inner_fn_args)
&mut |cx, _, _, seed, is_last_iteration| #inner_fn_name(#inner_fn_args),
stringify!(#outer_fn_name).to_string(),
);
}
}