Skip to content

Commit

Permalink
Merge pull request vim-ruby#317 from haya14busa/fix-syntax-error
Browse files Browse the repository at this point in the history
fix syntax error
  • Loading branch information
AndrewRadev committed Sep 18, 2016
2 parents 794558f + 0a411ae commit fc992fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoload/rubycomplete.vim
Expand Up @@ -196,7 +196,7 @@ function! rubycomplete#Complete(findstart, base)
if c =~ '\w'
continue
elseif ! c =~ '\.'
idx = -1
let idx = -1
break
else
break
Expand Down
2 changes: 1 addition & 1 deletion indent/ruby.vim
Expand Up @@ -390,7 +390,7 @@ function! s:FindContainingClass()
call setpos('.', saved_position)
return found_lnum
endif
endif
endwhile

call setpos('.', saved_position)
return 0
Expand Down

0 comments on commit fc992fd

Please sign in to comment.