wbolster / emacs-evil-colemak-basics

Emacs package with basic key rebindings for evil-mode with the Colemak keyboard layout
86 stars 23 forks source link

Fix evil-snipe-t and evil-snipe-j #22

Closed ohhskar closed 6 months ago

ohhskar commented 11 months ago

Running evil-snipe-T or evil-snipe-t using the keys or by manually running the command fails. It spits the following error message: funcall-interactively: Symbol’s value as variable is void: inclusive.

The same is true for evil-snipe-J and evil-snipe-j, however it outputs funcall-interactively: Symbol’s value as variable is void: exclusive.

Upon checking the source for both evil-snipe and evil-colemak-basic, https://github.com/hlissner/evil-snipe/commit/c2108d3932fcd2f75ac3e48250d6badd668f5b4f changed how it handled the argument and how evil-snipe-def was called.

This commit fixes this by replicating how evil-snipe-def was called within evil-snipe.

ohhskar commented 6 months ago

@wbolster I've moved away from emacs for a while now and can't update this PR.