We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2f5ac commit ef1c1d0Copy full SHA for ef1c1d0
spec/indent/indent_spec.rb
@@ -515,7 +515,7 @@
515
end
516
517
SUITE_SHIFTWIDTHS = [4, 3]
518
-SUITE_HANG_CLOSINGS = [nil, false, true]
+SUITE_HANG_CLOSINGS = [false, true]
519
520
SUITE_SHIFTWIDTHS.each do |sw|
521
describe "vim when using width of #{sw}" do
spec/spec_helper.rb
@@ -52,12 +52,8 @@ def hang_closing
52
return (i != 0)
53
54
def set_hang_closing(value)
55
- if value.nil?
56
- vim.command("unlet! g:python_pep8_indent_hang_closing")
57
- else
58
- i = value ? 1 : 0
59
- vim.command("let g:python_pep8_indent_hang_closing=#{i}")
60
- end
+ i = value ? 1 : 0
+ vim.command("let g:python_pep8_indent_hang_closing=#{i}")
61
62
63
vim
0 commit comments