Whitespace fix
This commit is contained in:
parent
fb5d25fc81
commit
ae474483e7
@ -154,19 +154,19 @@ function! youcompleteme#Complete(findstart, base)
|
|||||||
return []
|
return []
|
||||||
endif
|
endif
|
||||||
|
|
||||||
py csystem.CandidatesForQueryAsync( vim.eval('a:base') )
|
py csystem.CandidatesForQueryAsync( vim.eval('a:base') )
|
||||||
|
|
||||||
let l:results_ready = 0
|
let l:results_ready = 0
|
||||||
while !l:results_ready
|
while !l:results_ready
|
||||||
py << EOF
|
py << EOF
|
||||||
results_ready = csystem.AsyncCandidateRequestReady()
|
results_ready = csystem.AsyncCandidateRequestReady()
|
||||||
if results_ready:
|
if results_ready:
|
||||||
vim.command( 'let l:results_ready = 1' )
|
vim.command( 'let l:results_ready = 1' )
|
||||||
EOF
|
EOF
|
||||||
if complete_check()
|
if complete_check()
|
||||||
return { 'words' : [], 'refresh' : 'always'}
|
return { 'words' : [], 'refresh' : 'always'}
|
||||||
endif
|
endif
|
||||||
endwhile
|
endwhile
|
||||||
|
|
||||||
let l:results = []
|
let l:results = []
|
||||||
py << EOF
|
py << EOF
|
||||||
@ -180,7 +180,7 @@ EOF
|
|||||||
" 7.3.475. It's possible that patch 404 was the one that fixed this issue,
|
" 7.3.475. It's possible that patch 404 was the one that fixed this issue,
|
||||||
" but I haven't tested this assumption.
|
" but I haven't tested this assumption.
|
||||||
" A bug in vim causes the '.' register to break when we use set this... sigh
|
" A bug in vim causes the '.' register to break when we use set this... sigh
|
||||||
return { 'words' : l:results, 'refresh' : 'always'}
|
return { 'words' : l:results, 'refresh' : 'always'}
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user