nat-418 / boole.nvim

Neovim plugin for toggling booleans, etc.
BSD Zero Clause License
161 stars 6 forks source link

Hanging on unicode characters #36

Open garrett361 opened 6 months ago

garrett361 commented 6 months ago

Hello, great plugin! I was hoping to have a user-defined loop with unicode characters in it. Trying something minimal like the below,

require("boole").setup({ additions = { { "▽", "△" }, },... })

leads to either a no-op or a hang when attempting to cycle from ▽ to △, say.

Any idea why? Or ideas for a quick fix? I will also try to look into it.

garrett361 commented 6 months ago

Ah, it looks like an external package is needed to get string operations on unicode to work. Would you be open to a PR which adds those dependencies?