FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #317 from haya14busa/fix-syntax-error · vim-ruby/vim-ruby@fc992fd · GitHub

Commit fc992fd

Browse files
authored
Merge pull request #317 from haya14busa/fix-syntax-error
fix syntax error
2 parents 794558f + 0a411ae commit fc992fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎autoload/rubycomplete.vim‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ function! rubycomplete#Complete(findstart, base)
196196
if c =~ '\w'
197197
continue
198198
elseif ! c =~ '\.'
199-
idx = -1
199+
let idx = -1
200200
break
201201
else
202202
break

‎indent/ruby.vim‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ function! s:FindContainingClass()
390390
call setpos('.', saved_position)
391391
return found_lnum
392392
endif
393-
endif
393+
endwhile
394394

395395
call setpos('.', saved_position)
396396
return 0

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL