Quramy / tsuquyomi

A Vim plugin for TypeScript

Home Page:http://www.vim.org/scripts/script.php?script_id=5151

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Completion Error with TypeScript

taitung opened this issue · comments

I am on MacOS with VIM 8+. I know https://github.com/Quramy/tsuquyomi/pull/254/files#diff-89686931b608163f4db50a30122df305 had fixed the issue but I still encounter regardless of the version of TypeScript. When I disable the let g:syntastic_typescript_checkers = ['tsuquyomi'], it works but fails when working with syntastic

st[10]..tsuquyomi#tsClient#tsGeterr[4]..tsuquyomi#tsClient#sendCommandSyncEvents[2]..tsuquyomi#tsClient#sendRequest:
line   46:
E716: Key not present in Dictionary: request_seq != s:request_seq
Press ENTER or type command to continue
Error detected while processing function <SNR>28_VimEnterHook[7]..<SNR>28_UpdateErrors[15]..<SNR>28_CacheErrors[39]..16[1]..15[24]..SyntaxCheckers_typescript_tsuquyomi_GetLocList[1]..tsuquyomi#createFixli
st[10]..tsuquyomi#tsClient#tsGeterr[4]..tsuquyomi#tsClient#sendCommandSyncEvents[2]..tsuquyomi#tsClient#sendRequest:
line   46:
E15: Invalid expression: l:check || l:decoded_res_item.request_seq != s:request_seq
Press ENTER or type command to continue
Error detected while processing function <SNR>28_VimEnterHook[7]..<SNR>28_UpdateErrors[15]..<SNR>28_CacheErrors:
line   39:
E170: Missing :endfor
Press ENTER or type command to continue
Error detected while processing function <SNR>28_VimEnterHook[7]..<SNR>28_UpdateErrors:
line   15:
E171: Missing :endif
Press ENTER or type command to continue
Error detected while processing function <SNR>28_VimEnterHook:
line    7:
E171: Missing :endif
Press ENTER or type command to continue