Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sk/cli/claude.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ return {

local ret = Text.to_string(text)

-- transform line ranges to a format that Claude understands
-- transform line references to a format that Claude understands
ret = ret:gsub("@([^@]-) :L(%d+)%-L(%d+)", "@%1#L%2-%3")
ret = ret:gsub("@([^@]-) :L(%d+)", "@%1#L%2")

return ret
end,
Expand Down