diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-10-24 01:02:32 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-10-24 03:31:57 -0400 |
commit | 4fe59f0ea9a6370b614076dd270b33c9ba66f98e (patch) | |
tree | fd036b22fe6fcbf6b14082f8639222e64cb6df85 /vim | |
parent | 474e9cff6f95994499879ebbab5ba44201253778 (diff) | |
download | conf-4fe59f0ea9a6370b614076dd270b33c9ba66f98e.tar.gz conf-4fe59f0ea9a6370b614076dd270b33c9ba66f98e.zip |
avoid yoda conditional warnings
Diffstat (limited to 'vim')
-rw-r--r-- | vim/snippets/ruby.snippets | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/snippets/ruby.snippets b/vim/snippets/ruby.snippets index 721fa94..3bf5f28 100644 --- a/vim/snippets/ruby.snippets +++ b/vim/snippets/ruby.snippets @@ -5,7 +5,7 @@ snippet script ${0} end - if __FILE__ == \$0 + if \$0 == __FILE__ main(*ARGV) end snippet def |