dblume commited on 2025-05-04 00:18:03
Showing 1 changed files, with 1 additions and 1 deletions.
| ... | ... |
@@ -466,7 +466,7 @@ lua << EOF |
| 466 | 466 |
['.*'] = {
|
| 467 | 467 |
priority = -math.huge, |
| 468 | 468 |
function(path, bufnr) |
| 469 |
- local rokulog_pat = [[^\d\{2\}-\d\{2\} \d\{2\}:\d\{2\}:\d\{2\}.\d\{3\}\s\+\(!\|n\|dev\|\d\+\(_[0-9a-f]\+\)\?\|tvinput\.\S\+\)\?[ *]\[]]
|
|
| 469 |
+ local rokulog_pat = [[^\(\d\{4\}-\)\?\d\{2\}-\d\{2\} \d\{2\}:\d\{2\}:\d\{2\}.\d\{3\}\s\+\(!\|n\|dev\|\d\+\(_[0-9a-f]\+\)\?\|tvinput\.\S\+\)\?[ *]\[]]
|
|
| 470 | 470 |
if vim.fn.has('nvim-0.10') == 1 then
|
| 471 | 471 |
local content = vim.api.nvim_buf_get_lines(bufnr, 0, 1, false)[1] or '' |
| 472 | 472 |
if vim.regex(rokulog_pat):match_str(content) ~= nil then |
| 473 | 473 |