326326-- term({ cmd = 'git diff --', border = 'single', external = false })
327327
328328local function test (prompt )
329+ _ = test
329330 local b , w , c = floating_buf ({
330331 win_width = 30 ,
331332 win_height = 6 ,
@@ -334,6 +335,8 @@ local function test(prompt)
334335 prompt = prompt ,
335336 focus = true ,
336337 })
338+ _ = w
339+ _ = c
337340 local data = { ' floating buf' , ' line1' , ' line2' , ' line3' , ' line4' , ' line5' }
338341 for i = 1 , 10 , 1 do
339342 vim .api .nvim_buf_set_lines (b , i , - 1 , false , { data [i ] })
@@ -346,6 +349,7 @@ local function test(prompt)
346349end
347350
348351local function test2 (prompt )
352+ _ = test2
349353 local b , w , c = floating_buf ({
350354 win_width = 30 ,
351355 win_height = 8 ,
@@ -355,6 +359,8 @@ local function test2(prompt)
355359 title = ' title' ,
356360 enter = true ,
357361 })
362+ _ = w
363+ _ = c
358364 local data = { ' floating buf' , ' linea' , ' lineb' , ' linec' , ' lined' , ' linee' }
359365 for i = 1 , 10 , 1 do
360366 vim .api .nvim_buf_set_lines (b , i , - 1 , false , { data [i ] })
@@ -365,7 +371,11 @@ local function test2(prompt)
365371end
366372
367373local function test_mask (t )
374+ _ = test_mask
368375 local b , w , c = floating_buf_mask (t )
376+ _ = b
377+ _ = w
378+ _ = c
369379end
370380-- test2(true)
371381
0 commit comments