From 266ee8cb1604351e5c28664db798f7d1b2fd3875 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Mon, 3 Jul 2023 08:58:25 +0200 Subject: [PATCH] use jsonlint for json in nullls --- lua/custom/plugins/nullls.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/custom/plugins/nullls.lua b/lua/custom/plugins/nullls.lua index 044dac4..5dfdac7 100644 --- a/lua/custom/plugins/nullls.lua +++ b/lua/custom/plugins/nullls.lua @@ -39,11 +39,13 @@ return { -- Anything not supported by mason. -- lua formatting.stylua, + --json + diagnostics.jsonlint, -- eslint diagnostics.eslint_d.with { cwd = h.cache.by_bufnr(eslint_d_cwd), -- not sure how to scope this only to bcr's locales - extra_filetypes = { 'json' }, + -- extra_filetypes = { 'json' }, }, formatting.eslint_d.with { cwd = h.cache.by_bufnr(eslint_d_cwd),