From 115ac54d190344ae06af8c74112aecdba77dbfac Mon Sep 17 00:00:00 2001 From: Thomas485 <1681511+Thomas485@users.noreply.github.com> Date: Sat, 6 Jul 2024 11:32:41 +0200 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 950fcf5..9f4c0d8 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,16 @@ for _, cf in ipairs(comment_filetypes) do end ``` +## Configuration + +You can find all options [here](https://github.com/Thomas485/comment-navigator/blob/main/lua/comment_navigator/init.lua#L51-L59) + +### predefined comment styles + +You can find a list [here](https://github.com/Thomas485/comment-navigator/blob/main/lua/comment_navigator/init.lua#L119-L124) + +### custom comments + +Just use your own (lua)regex. + +The first capture is the indentation, the second the text to show.