Skip to content

Commit 502f44d

Browse files
authored
(bug): Auto open always true
1 parent e6c582e commit 502f44d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/tsc/utils.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ M.parse_tsc_output = function(output)
8989
end
9090

9191
M.set_qflist = function(errors, auto_open)
92-
auto_open = auto_open or true
92+
if auto_open == nil then
93+
auto_open = true
94+
end
9395

9496
vim.fn.setqflist({}, "r", { title = "TSC", items = errors })
9597

0 commit comments

Comments
 (0)