Skip to content

Commit

Permalink
fix: fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 12, 2024
1 parent 88a40f1 commit 60b0ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/trouble/view/window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function M.new(opts)
elseif opts.type == "float" then
opts.relative = opts.relative or "editor"
opts.size = opts.size or { width = 0.8, height = 0.8 }
opts.position = type(opts.position) == "table" and opts.poition or { 0.5, 0.5 }
opts.position = type(opts.position) == "table" and opts.position or { 0.5, 0.5 }
elseif opts.type == "main" then
opts.type = "float"
opts.relative = "win"
Expand Down

0 comments on commit 60b0ac3

Please sign in to comment.