Permalink
Browse files

fix syntax error

  • Loading branch information...
1 parent 794558f commit 0a411ae9104681f1172df434ac5d21398f22f16d @haya14busa haya14busa committed Sep 17, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 autoload/rubycomplete.vim
  2. +1 −1 indent/ruby.vim
@@ -196,7 +196,7 @@ function! rubycomplete#Complete(findstart, base)
if c =~ '\w'
continue
elseif ! c =~ '\.'
- idx = -1
+ let idx = -1
break
else
break
View
@@ -390,7 +390,7 @@ function! s:FindContainingClass()
call setpos('.', saved_position)
return found_lnum
endif
- endif
+ endwhile
call setpos('.', saved_position)
return 0

0 comments on commit 0a411ae

Please sign in to comment.