@@ -252,7 +252,7 @@ pub(super) unsafe fn completion_item_from_object(
252
252
envir : SEXP ,
253
253
package : Option < & str > ,
254
254
promise_strategy : PromiseStrategy ,
255
- no_parens : bool ,
255
+ no_trailing_parens : bool ,
256
256
) -> Result < CompletionItem > {
257
257
if r_typeof ( object) == PROMSXP {
258
258
return completion_item_from_promise (
@@ -261,7 +261,7 @@ pub(super) unsafe fn completion_item_from_object(
261
261
envir,
262
262
package,
263
263
promise_strategy,
264
- no_parens ,
264
+ no_trailing_parens ,
265
265
) ;
266
266
}
267
267
@@ -271,7 +271,7 @@ pub(super) unsafe fn completion_item_from_object(
271
271
// In other words, when creating a completion item for these functions,
272
272
// we should also figure out where we can receive the help from.
273
273
if Rf_isFunction ( object) != 0 {
274
- return completion_item_from_function ( name, package, no_parens ) ;
274
+ return completion_item_from_function ( name, package, no_trailing_parens ) ;
275
275
}
276
276
277
277
let mut item = completion_item ( name, CompletionData :: Object {
@@ -302,7 +302,7 @@ pub(super) unsafe fn completion_item_from_promise(
302
302
envir : SEXP ,
303
303
package : Option < & str > ,
304
304
promise_strategy : PromiseStrategy ,
305
- no_parens : bool ,
305
+ no_trailing_parens : bool ,
306
306
) -> Result < CompletionItem > {
307
307
if r_promise_is_forced ( object) {
308
308
// Promise has already been evaluated before.
@@ -314,7 +314,7 @@ pub(super) unsafe fn completion_item_from_promise(
314
314
envir,
315
315
package,
316
316
promise_strategy,
317
- no_parens ,
317
+ no_trailing_parens ,
318
318
) ;
319
319
}
320
320
@@ -331,7 +331,7 @@ pub(super) unsafe fn completion_item_from_promise(
331
331
envir,
332
332
package,
333
333
promise_strategy,
334
- no_parens ,
334
+ no_trailing_parens ,
335
335
) ;
336
336
}
337
337
@@ -425,7 +425,7 @@ pub(super) unsafe fn completion_item_from_symbol(
425
425
envir : SEXP ,
426
426
package : Option < & str > ,
427
427
promise_strategy : PromiseStrategy ,
428
- no_parens : bool ,
428
+ no_trailing_parens : bool ,
429
429
) -> Option < Result < CompletionItem > > {
430
430
let symbol = r_symbol ! ( name) ;
431
431
@@ -458,7 +458,7 @@ pub(super) unsafe fn completion_item_from_symbol(
458
458
envir,
459
459
package,
460
460
promise_strategy,
461
- no_parens ,
461
+ no_trailing_parens ,
462
462
) )
463
463
}
464
464
0 commit comments