In the past couple of days I’ve finally had some time to work again on nvim-http.
It’s a #Neovim #Python plugin compatible with comparable HTTP client plugins in VsCode and IntelliJ - or a little #Postman that runs in your favourite editor.
While I was away I didn’t notice that the repo in the meantime has ammassed almost 100 stars and it had a dozen of outstanding issues - sorry!
The latest release includes many improvements and features:
Fully migrated to the Neovim remote plugins API, now that Neovim has introduced breaking changes that make it incompatible with the old vim.async_run
API.
Better handling of HTTP requests that don’t end with newlines or comment headers.
Added support for environent variables specified in .env
files, either in the same directory as the .http
file or in the current working directory of the editor. The plugin now also supports environment variables specified both in *.env.json
files (VsCode compatibility) and .env
files.
Added support for inline shell commands, either in the environment variable or in the HTTP request, delimited by $(...)
.
Added -h
and -t
options to the :Http
command to display the output in a horizontal split or in a new tab (the default is a vertical split).
Added --no-redirects
option to :Http
to avoid following redirects.
Added -T
/--timeout
option.
https://github.com/blacklight/nvim-http