Skip to content

Commit

Permalink
chore: release 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Canciller committed Mar 19, 2024
1 parent ec1d809 commit 99e666f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/typescript-type-checker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ M.run = function()
for _, line in ipairs(data) do
if line ~= "" then -- Ignore empty lines
-- Match the filename, line number, column number, and the full message
local filename, lnum, col, full_message = line:match("([^%(%)]+)%((%d+),(%d+)%)%:%s*(.*)")
local pattern = "(.-)%((%d+),(%d+)%)%:%s*(.*)"
local filename, lnum, col, full_message = line:match(pattern)

if filename and lnum and col and full_message then
table.insert(qf_list, {
Expand Down

0 comments on commit 99e666f

Please sign in to comment.