We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b6cfda commit 68d2693Copy full SHA for 68d2693
2 files changed
ftplugin/ruby/switch.vim
@@ -17,6 +17,7 @@ let b:switch_definitions =
17
\ g:switch_builtins.rspec_expect,
18
\ g:switch_builtins.rspec_to,
19
\ g:switch_builtins.rspec_be_truthy_falsey,
20
+ \ g:switch_builtins.rspec_be_present_blank,
21
\ g:switch_builtins.ruby_keyword_string,
22
\ g:switch_builtins.ruby_string,
23
\ g:switch_builtins.ruby_short_blocks,
plugin/switch.vim
@@ -107,6 +107,7 @@ let g:switch_builtins =
107
\ '\.to_not ': '.to ',
108
\ },
109
\ 'rspec_be_truthy_falsey': ['be_truthy', 'be_falsey'],
110
+ \ 'rspec_be_present_blank': ['be_present', 'be_blank'],
111
\ 'eruby_if_clause': {
112
\ '<% if true or (\(.*\)) %>': '<% if false and (\1) %>',
113
\ '<% if false and (\(.*\)) %>': '<% if \1 %>',
0 commit comments