Skip to content

bug: Format pattern for searching not working as expected #825

Answered by ilias777
JustinBacher asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you are absolutely right.
I played a little bit with the format options and with regex. And it works! Look here...

search_replace_with_icon.mov

Place this code inside the opts table:

cmdline = {
    format = {
        search_replace = { pattern = '^:%%s/', icon = '󰛔', lang = 'regex' },
    },
},

✌🏻🙂

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@JustinBacher
Comment options

Comment options

You must be logged in to vote
5 replies
@JustinBacher
Comment options

@ilias777
Comment options

Answer selected by JustinBacher
@ilias777
Comment options

@JustinBacher
Comment options

@ilias777
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #823 on May 27, 2024 06:14.