Prerequisites
Neovim Version
NVIM v0.11.6 Build type: RelWithDebInfo LuaJIT 2.1.1767980792 Run "nvim -V1 -v" for more info
Operating system/version
Arch Linux
Actual behavior
json responses are not pretty printed in the output pane.
i found old closed issues on this but they were giving a solution that all related to json filetype which i didnt understand as the output pane is not json filetype
please help
Expected behavior
it should pretty print json
Steps to reproduce
Do any request that responds with json, output wont be pretty printed.
Minimal config for repro (using lazy.nvim)
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
"rest-nvim/rest.nvim",
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
main = "nvim-treesitter.configs",
opts = {
ensure_installed = { "http" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
},
},
},
})
Other information
No response
Prerequisites
Neovim Version
NVIM v0.11.6 Build type: RelWithDebInfo LuaJIT 2.1.1767980792 Run "nvim -V1 -v" for more info
Operating system/version
Arch Linux
Actual behavior
json responses are not pretty printed in the output pane.
i found old closed issues on this but they were giving a solution that all related to json filetype which i didnt understand as the output pane is not json filetype
please help
Expected behavior
it should pretty print json
Steps to reproduce
Do any request that responds with json, output wont be pretty printed.
Minimal config for repro (using
lazy.nvim)Other information
No response