You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked at the code and both sp-forward-symbol and sp-backward-symbol do no skip comment. I beleive they should (or at least have a user-option that would control the behaviour). I will submit a PR to skip the comments.
Expected behavior
With located at position marked by ∎ in following Erlang code in erlang-mode buffer:
Executing
M-x sp-backward-symbol
should move point to the beginning of previous symbol, which happens to beApp
:Actual behavior
Instead it lands right inside the comment:
Note:
sp-skip-forward-to-symbol
skips over comments.sp-forward-symbol
also stops within comments.sp-forward-symbol
andsp-backward-symbol
to skip comments.Steps to reproduce the problem
Environment & version information
smartparens
version: 20210529.1129. Also tested on version 20210904.1621 with same results.major-mode
:erlang-mode
M-x emacs-version
): GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.6.0) of 2019-08-30The text was updated successfully, but these errors were encountered: