mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-16 02:45:09 +00:00
Get simple rg example to work
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user