X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/61e1c4d6a5c90ba0222cd58198ccc0232433f90c..84f35c0a4f3fcb8a816785e02983732c4a1dcc99:/spec/indent/indent_spec.rb?ds=inline 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