OXY2DEV/markview.nvim

๐Ÿž Bug: Probably Regex Bug in parser.lua

Opened this issue ยท 1 comments

Before reporting:

  • Ensure that the issue is reproducable on the main branch.
  • Ensure that there isn't an issue on this(either open or closed).

Problem:

When writing a line of the folllowing pattern in the current buffer:
- 1) Some text -> 2)
, the following error is displayed continuously:

[...]
.local/share/nvim/lazy/markview.nvim/lua/
markview/parser.lua:149: invalid pattern capture                                   
stack traceback:                                                                   
        [C]: in function 'gsub'    
[...]

Steps to reproduce the issue:

Insert following line: - 1) Some text -> 2) in current buffer/md-file

Expected behavior:

No error

Neovim version:

NVIM v0.10.2

This has been mentioned before and is fixed in dev branch.