Open kusnezoff-alexander opened 4 days ago
Random error occurs constantly when writing a specific line (see Steps to reproduce the issue) with the following error message:
Error executing vim.schedule lua callback: ...al/share/nvim/lazy/markview.nvim/lua/ markview/parser.lua:141: invalid pattern capture stack traceback: [C]: in function 'gsub' ...al/share/nvim/lazy/markview.nvim/lua/markview/parser.lua:141: in functio n 'filter_lines'
It seems like this error only occurs when writinga html-tag followed by bold/italic text on the line of a numbered list item.
Create a markdown file test.md with the following content: 2) <u>text</u> *italic* and try to do anything (move cursor/...).
test.md
2) <u>text</u> *italic*
No error should occur.
v0.10.1
The problem seems to be the with the Regex on this line: (>%s-([+%-*])) which also matches html-tags followed by a star * as Marker items, although they are not.
>%s-([+%-*])
*
Before reporting:
Problem:
Random error occurs constantly when writing a specific line (see Steps to reproduce the issue) with the following error message:
It seems like this error only occurs when writinga html-tag followed by bold/italic text on the line of a numbered list item.
Steps to reproduce the issue:
Create a markdown file
test.md
with the following content:2) <u>text</u> *italic*
and try to do anything (move cursor/...).Expected behavior:
No error should occur.
Neovim version:
v0.10.1