Apologies if this is a dumb question, but I am using nvim-lspconfig to configure the json language server (jsonls). Contrary to the documentation, it seems like autoformatting is enabled by default, so on save my entire .json file gets reformatted which is great.
However, my work requires 4 space indentation and it formats with 2 spaces. I have trawled what documentation I can find online and cannot find any way to change this to 4 spaces. Is this possible?
Alternatively I will turn off formatting with jsonls and revert to using prettier.