flash.nvim icon indicating copy to clipboard operation
flash.nvim copied to clipboard

feature: support full punctuation

Open yaowjit opened this issue 2 years ago • 0 comments

Did you check the docs?

  • [X] I have read all the flash.nvim docs

Is your feature request related to a problem? Please describe.

I think it's a new feature for flash.nvim, but is an implemented feature in leap.nvim

The feature in leap.nvim is equivalence_classes, my settting is

    equivalence_classes = {
        " \t\r\n",
        ",,",
        ".。",
        "::",
        ";;",
        [['"“”]],
        "((",
        "))",
        "\\、",
    },

With this setting, I can jump to both full/half punctuations in chinese articles, for example:

when I press s + ,, there are two cadidates

这是第一句话,这是第二句话, 这是第三句话。 图片

If it's an implemented feature in flash.nvim, how should I configure flash.nvim? If it's a new feature, I hope you can add it to flash.nvim, it's really a usefull feature for utf-8 users.

Describe the solution you'd like

descriped above

Describe alternatives you've considered

descriped above

Additional context

No response

yaowjit avatar Dec 06 '23 09:12 yaowjit