mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 06:27:18 +01:00
use jsonlint for json in nullls
This commit is contained in:
@@ -39,11 +39,13 @@ return {
|
|||||||
-- Anything not supported by mason.
|
-- Anything not supported by mason.
|
||||||
-- lua
|
-- lua
|
||||||
formatting.stylua,
|
formatting.stylua,
|
||||||
|
--json
|
||||||
|
diagnostics.jsonlint,
|
||||||
-- eslint
|
-- eslint
|
||||||
diagnostics.eslint_d.with {
|
diagnostics.eslint_d.with {
|
||||||
cwd = h.cache.by_bufnr(eslint_d_cwd),
|
cwd = h.cache.by_bufnr(eslint_d_cwd),
|
||||||
-- not sure how to scope this only to bcr's locales
|
-- not sure how to scope this only to bcr's locales
|
||||||
extra_filetypes = { 'json' },
|
-- extra_filetypes = { 'json' },
|
||||||
},
|
},
|
||||||
formatting.eslint_d.with {
|
formatting.eslint_d.with {
|
||||||
cwd = h.cache.by_bufnr(eslint_d_cwd),
|
cwd = h.cache.by_bufnr(eslint_d_cwd),
|
||||||
|
|||||||
Reference in New Issue
Block a user