Skip to content

Commit 28d5c28

Browse files
committedMar 27, 2025
fix(float): explicity set border to 'none' if nil
1 parent 85bedb7 commit 28d5c28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lua/trouble/view/window.lua

+1
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ function M:mount_float(opts)
311311
config.focusable = true
312312
config.height = opts.size.height <= 1 and math.floor(parent_size.height * opts.size.height) or opts.size.height
313313
config.width = opts.size.width <= 1 and math.floor(parent_size.width * opts.size.width) or opts.size.width
314+
config.border = opts.border or "none"
314315

315316
config.row = math.abs(opts.position[1]) <= 1 and math.floor((parent_size.height - config.height) * opts.position[1])
316317
or opts.position[1]

0 commit comments

Comments
 (0)