Closed kevintraver closed 1 month ago
Hi, is nvim-nio
installed? Please send the output of :checkhealth rest-nvim
as well and I'll take a look at it asap :)
Installation
- OK Found `luarocks` installed in your system
- OK Found Luarocks PATHs in your Neovim's Lua `package.path`
- OK Dependency `nvim-treesitter` was found
- OK Dependency `lua-curl` was found
- OK Dependency `nvim-nio` was found
- OK Dependency `xml2lua` was found
- OK Dependency `mimetypes` was found
- OK Tree-sitter `http` parser is installed
Configuration ~
- OK No unrecognized configuration options were found
- OK Formatter for `json` is set to `jq` and rest.nvim found it in your system
- OK Formatter for `html` is set to `tidy` and rest.nvim found it in your system
I also tested the latest version of Neovim v0.10.0-dev-2893+g328a23735-Homebrew
but still encounter the same issue.
Same thing happens for me. :checkhealth rest-nvim
is ok, latest v0.10...
neovim. Queries that take long time freeze neovim
Hi, thank you for this great plugin and the latest update is awesome. I experienced it too while running a Go debugger. When it hits breakpoint it freezes and I can't do anything other than force close the terminal. Have tried to open on separate terminal, it also freezes until I continue
the debug breakpoint.
Closing this due to v3 release.
Now as we don't use lib-curl
but instead run native curl
with vim.system()
.
This makes rest.nvim truely asynchronous and it won't block your editor any more.
When using the latest version (2.0), neovim completely locks up until the request has finished:
GET https://httpbin.org/delay/10
Config:
MacOS : 14.4.1 Neovim: 0.9.5 LuaJIT: 2.1.1710088188
init.lua: