I have installed vim-rest-console in my neovim 0.9.4 setup and followed the readme and reddit threads to setup it but The JSON formatter is not working. When I tried to get the error message using :messages command I get VRC: auto-format error: 127 error. Is there a way to fix it?
vim-rest-console.lua
vim.g.vrc_set_default_mapping = 0
vim.g.vrc_response_default_content_type = 'application/json'
vim.g.vrc_output_buffer_name = '__VRC_OUTPUT.json'
vim.g.vrc_debug = 1
vim.g.vrc_auto_format_resource_patterns = {
json = 'python3 -m json.tool'
}
test.rest
# Host
https://dev.to/api
## curl options
--silent
# Headers
Accept: application/json;
Connection: keep-alive
Content-Type: application/json; charset=utf-8
# Method
GET /articles
I have installed
vim-rest-consolein my neovim0.9.4setup and followed the readme and reddit threads to setup it but The JSON formatter is not working. When I tried to get the error message using:messagescommand I getVRC: auto-format error: 127error. Is there a way to fix it?vim-rest-console.lua
test.rest