diff options
| author | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-29 14:47:05 +0000 |
|---|---|---|
| committer | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-29 14:47:05 +0000 |
| commit | a92cc18f6c4961441f2381dd9a1a70fff1356536 (patch) | |
| tree | b5e324132697d7ec276cd5cb663a87420d877298 /mut | |
| parent | cbb047fdafcde91870e5a56413c8723d5890418c (diff) | |
fixup
Diffstat (limited to 'mut')
| -rw-r--r-- | mut/vis/vis-quickfix/init.lua | 2 | ||||
| -rw-r--r-- | mut/vis/visrc.lua | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mut/vis/vis-quickfix/init.lua b/mut/vis/vis-quickfix/init.lua index f1e1809..a185ea3 100644 --- a/mut/vis/vis-quickfix/init.lua +++ b/mut/vis/vis-quickfix/init.lua @@ -326,7 +326,7 @@ local function store_from_string(str, fmt) local i = 0 local dirstack = {} local pwd = getcwd() - for ln in lines.buffer:gmatch("[^\n]*") do + for ln in lines.buffer:gmatch("[^\n]+") do i = i + 1 for patt, push in pairs(fmt[0] or {}) do local dir = ln:match(patt) diff --git a/mut/vis/visrc.lua b/mut/vis/visrc.lua index b6479b3..35df8e8 100644 --- a/mut/vis/visrc.lua +++ b/mut/vis/visrc.lua @@ -1,6 +1,7 @@ -- load standard vis module, providing parts of the Lua API require('vis') require('vis-editorconfig') +require('vis-quickfix') local format = require('vis-format') for k, _ in pairs(format.formatters) do |
