X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/61e1c4d6a5c90ba0222cd58198ccc0232433f90c..62189f57e66400fcd1135bfaf6ca2eeb2d233e15:/spec/indent/indent_spec.rb?ds=sidebyside diff --git a/spec/indent/indent_spec.rb b/spec/indent/indent_spec.rb index 9c52235..4227b3f 100644 --- a/spec/indent/indent_spec.rb +++ b/spec/indent/indent_spec.rb @@ -719,3 +719,11 @@ describe "Using O" do indent.should == 0 end end + +describe "searchpairpos" do + before { vim.feedkeys '\ggdG' } + it "handles nested parenthesis" do + vim.feedkeys 'iif foo.startswith("("):\' + indent.should == shiftwidth + end +end