Skip to content

show-smartparens-mode not working when cursor on right parenthesis #758

@et2010

Description

@et2010

Expected behavior

Left matching parenthesis should be highlighted when the cursor is on the right parenthesis.

Actual behavior

Left parenthesis is not highlighted, see the fig below:

image

Note that when the cursor is on the left parenthesis, the highlighting works as expected:

image

Steps to reproduce the problem

Just open any elisp buffer and move the cursor as described above. Make sure the built-in show-paren-mode is off.

Edit: I'm using evil-mode, above repro guide is for the 'normal' state. For emacs state, to reproduce, you should move the cursor to the point before the right parenthesis.

Environment & version information

  • smartparens version: smartparens-20170618.744
  • Active major-mode: emacs-lisp-mode
  • Emacs version (M-x emacs-version): GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.10) of 2017-04-22
  • OS: Archlinux

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions