File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -498,14 +498,17 @@ RSpec be_truthy/be_falsey (g:switch_builtins.rspec_be_truthy_falsey):
498498 expect(true).to be_truthy
499499 expect(true).to be_falsey
500500<
501- Ruby string style (g:switch_builtins.ruby_string ):
501+ Ruby keyword string style (no spaces) ( g:switch_builtins.ruby_keyword_string ):
502502>
503503 foo = 'bar'
504504 foo = "baz"
505505 foo = :baz
506506<
507- Note that it only works for single-word strings.
508-
507+ Ruby string style (g:switch_builtins.ruby_keyword_string):
508+ >
509+ foo = 'foo bar'
510+ foo = "foo bar"
511+ <
509512Ruby block shorthands (g:switch_builtins.ruby_short_blocks):
510513>
511514 do_something { |x| x.some_work! }
@@ -707,7 +710,7 @@ Git Rebase Commands:
707710
708711Elixir ~
709712
710- Charlist -> Binary -> Atom (g:switch_builtins.ruby_string )
713+ Charlist -> Binary -> Atom (g:switch_builtins.ruby_keyword_string )
711714>
712715 foo = 'bar'
713716 foo = "bar"
Original file line number Diff line number Diff line change 44
55let b: switch_definitions =
66 \ [
7- \ g: switch_builtins .ruby_string ,
7+ \ g: switch_builtins .ruby_keyword_string ,
88 \ g: switch_builtins .elixir_list_shorthand
99 \ ]
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ let b:switch_definitions =
88 \ g: switch_builtins .eruby_tag_type,
99 \ g: switch_builtins .ruby_hash_style,
1010 \ g: switch_builtins .ruby_oneline_hash,
11- \ g: switch_builtins .ruby_string ,
11+ \ g: switch_builtins .ruby_keyword_string ,
1212 \ ]
You can’t perform that action at this time.
0 commit comments