Fork me on GitHub
#spacemacs
<
2022-04-14
>
Martynas Maciulevičius08:04:36

Hey. I was fiddling with evil mode and I found that I could define my own text objects. So I figured I'd define one for clojure's set. But there is a problem. The matching mechanism accepts only one symbol and I want to use two: #{.

(evil-select-paren "#{" ?} beg end type count t)
More info: https://github.com/emacs-evil/evil/blob/7e87b82660668cb10f1f9838ddd622abab1f7a62/evil-commands.el#L1336 Is there a way to make this work?

Martynas Maciulevičius10:04:05

Setting both to strings solves this one