- commit
- c04531c
- parent
- 4b0b7b2
- author
- Eric bower
- date
- 2025-09-24 11:50:11 -0400 EDT
fix(nvim): cqf
1 files changed,
+4,
-1
+4,
-1
1@@ -202,8 +202,11 @@ vim.api.nvim_create_user_command("Qf", function(props)
2 end, { nargs = "+", desc = "convert command to quickfix" })
3
4 local function cqf_fmt(line)
5- local path, rest = line:match("(%S+)%s+(.*)")
6+ local path, rest = line:match("(%S+)%s*(.*)")
7 if path then
8+ if #rest == 0 then
9+ rest = path
10+ end
11 return string.format("%s:1:1:%s", path, rest)
12 end
13 return ""