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'm not sure if this is feasible but I figured I'd raise an issue to see what others think, or if there is a more elegant solution.
I find myself having to manually space ruby blocks a lot and I'd rather let the computer do it.
Expected behavior
(_ is point)
Type let(:thing) {, get let(:thing) { _ }.
Type my_hash = {, get my_hash = {_}
Actual behavior
Type let(:thing) {, get let(:thing) {_} (❌)
Type my_hash = {, get my_hash = {_} (✔️)
Environment & version information
smartparens version: 20230225.1026
Active major-mode: ruby-mode
Smartparens strict mode: t
Emacs version (M-x emacs-version): GNU Emacs 28.2 (build 1, aarch64-apple-darwin22.3.0, Carbon Version 169 AppKit 2299.4) of 2023-02-07
Starterkit/Distribution: Spacemacs
OS: darwin
The text was updated successfully, but these errors were encountered:
gondalez
changed the title
Add spacing for block {s (but not for hash {s.
Add spacing for block {s (but not for hash {s)
Apr 20, 2023
gondalez
changed the title
Add spacing for block {s (but not for hash {s)
Add spacing for ruby block {s (but not for hash {s)
Apr 20, 2023
gondalez
changed the title
Add spacing for ruby block {s (but not for hash {s)
Add spacing for ruby block {s (but not for hash {s) in smartparens-rubyApr 20, 2023
Hi and thanks for the great package :) 🙏
I'm not sure if this is feasible but I figured I'd raise an issue to see what others think, or if there is a more elegant solution.
I find myself having to manually space ruby blocks a lot and I'd rather let the computer do it.
Expected behavior
(
_
is point)Type
let(:thing) {
, getlet(:thing) { _ }
.Type
my_hash = {
, getmy_hash = {_}
Actual behavior
Type
let(:thing) {
, getlet(:thing) {_}
(❌)Type
my_hash = {
, getmy_hash = {_}
(✔️)Environment & version information
smartparens
version: 20230225.1026major-mode
:ruby-mode
M-x emacs-version
): GNU Emacs 28.2 (build 1, aarch64-apple-darwin22.3.0, Carbon Version 169 AppKit 2299.4) of 2023-02-07The text was updated successfully, but these errors were encountered: