Skip to content

Commit

Permalink
fix(api): fix out_write & err_write on vim8
Browse files Browse the repository at this point in the history
Upgrade @chemzqm/neovim module
  • Loading branch information
chemzqm committed Jul 27, 2021
1 parent d5428dd commit f8b70f4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions autoload/coc/api.vim
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,18 @@ endfunction

function! s:funcs.out_write(str)
echon a:str
call timer_start(0, {-> s:execute('redraw')})
endfunction

function! s:funcs.err_write(str)
echoerr a:str
"echoerr a:str
endfunction

function! s:funcs.err_writeln(str)
echoerr a:str
echohl ErrorMsg
echom a:str
echohl None
call timer_start(0, {-> s:execute('redraw')})
endfunction

function! s:funcs.create_namespace(name) abort
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"vscode-languageserver": "7.0.0"
},
"dependencies": {
"@chemzqm/neovim": "^5.2.12",
"@chemzqm/neovim": "^5.2.16",
"ansi-styles": "^5.0.0",
"bytes": "^3.1.0",
"cli-table": "^0.3.4",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@chemzqm/neovim@^5.2.12":
version "5.2.12"
resolved "https://registry.yarnpkg.com/@chemzqm/neovim/-/neovim-5.2.12.tgz#5b85f8385a8f49c3a0f0f542efb11d5e98f2bba5"
integrity sha512-MmnFaF7P8Sw/WsselXtoexTUxPJGWupUDMTz0T76mWU+M61TXt213UBgxA/idr7ZSCnFTyujDVqcaL5xYd9tig==
"@chemzqm/neovim@^5.2.16":
version "5.2.16"
resolved "https://registry.yarnpkg.com/@chemzqm/neovim/-/neovim-5.2.16.tgz#a3ab61021d821538cc54ed4b3eb0731f5bafd0b2"
integrity sha512-uxKU2Sj0gOlgOC5c9Ly2/W9/mh8ziVt1og873yytFAmNVPju7HzDXl72Zv4+77gKsKe6JfT3mHpBxWQaNhVNmQ==
dependencies:
msgpack-lite "^0.1.26"

Expand Down

0 comments on commit f8b70f4

Please sign in to comment.