mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-06-08 21:05:05 +00:00
14 lines
226 B
Lua
14 lines
226 B
Lua
local vimgrep = {}
|
|
|
|
vimgrep.parse_line = function(line)
|
|
local sections = vim.split(line, ":")
|
|
|
|
return {
|
|
filename = sections[1],
|
|
row = tonumber(sections[2]),
|
|
col = tonumber(sections[3]),
|
|
}
|
|
end
|
|
|
|
return vimgrep
|