Which characters should be escaped in Vim regex for todo configuration? #343
Unanswered
manoelpqueiroz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys, I have been trying to tweak the configuration with the main goal of identifying
[ ]
as a todo in Markdown files. Basically, I am adapting Todo-Tree's Rust regex to the Vim regex for thepattern
option of Todo-comments.The Rust regex is as follows:
(//|--|#|<!--|;|/\*|^[ \t]*(-|\d+.))\s*(KEYWORDS)
So far, I have attempted to implement the following configuration with LazyVim, but :
I believe the problem is that the Vim regex is not set up correctly, do you guys have any clue as to why it is failing to work?
Much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions