MiniSurround: autodetect nearest surrounding like sandwich iss
#450
-
Hello, Sandwich provides special I tried using require("mini.surround").setup({
custom_surroundings = {
["s"] = {
input = { find = "[\"'`{(\\[<].-[\"'`})\\]>]", extract = "^(.).*(.)$" },
},
},
}) Thanks for your consideration. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, this is not entirely possible at the moment. Constructing custom surrounding seems like the best course of action here. By the way, you seem to use not the most recent version of 'mini.surround', because this format for |
Beta Was this translation helpful? Give feedback.
Yes, this is not entirely possible at the moment. Constructing custom surrounding seems like the best course of action here.
By the way, you seem to use not the most recent version of 'mini.surround', because this format for
custom_surroundings
was replaced with the new one in 'mini.nvim' 0.6.0.