syl20bnr/evil-escape

indentation error on ruby end keyword

Opened this issue · 0 comments

Description

Pressing predefined evil escape key on end keyword on the first time causes unexpected indentation.

Reproduction guide

  • Start Emacs with -Q option
  • M-x package-initialize
  • M-x load-library evil
  • M-x load-library evil-escape
  • Open a test.rb file.
    • M-x evil-mode
    • M-x evil-escape-mode
    • M-x eval-expression (setq-default evil-escape-key-sequence "kj")

Video_2020-09-19_152920_edit

I press kj on the end keyword in the last step, it causes the end keyword indent by 2.

System Info

  • OS: win7
  • Emacs: 26.1
  • Editing style: vim