Closed ymarco closed 2 years ago
Any updates on this?
ping
Looks like this project is stalled. Paging @abo-abo
@ymarco What was your use case? It seems to me the current code is working as intended:
(aya--parse "foo bar")
;; => ("foo bar")
(aya--parse "~foo bar")
;; => (((idx . 1) (value . "foo") (ucase)) " bar")
I honestly don't remember anything past what I've written when opening the PR
@ymarco No problem. I'll close the issue. But reading this gave me an idea of improving my config:
(aya--parse "foo bar") ;; => ("foo bar")
if no vars are detected, it's just a list with a string in it. Very similar to a copied region.
So why not have auto-yasnippet
handle copying regions?
aya-create
forward to kill-ring-save
if no vars are detected.kill-ring
anywayaya-create
and C-y to aya-expand
and have aya-expand
forward to yank
in case no vars are detected.To keybindings can be saved this way.
res
seems to be a list of strings, not a list of lists.aya-create
was not working for me before this change, it didn't register the region, and now it does.