Get simple rg example to work

This commit is contained in:
TJ DeVries
2020-07-15 17:53:30 -04:00
parent 053417dd92
commit c6f0142fc6
12 changed files with 580 additions and 339 deletions

View File

@@ -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