mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
32 lines
496 B
Nix
32 lines
496 B
Nix
{pkgs, ...}: {
|
|
plugins = {
|
|
conform-nvim.settings = {
|
|
formatters_by_ft = {
|
|
json = ["jq"];
|
|
};
|
|
|
|
formatters = {
|
|
jq = {
|
|
command = "${pkgs.jq}/bin/jq";
|
|
};
|
|
};
|
|
};
|
|
|
|
lint = {
|
|
lintersByFt = {
|
|
json = ["jsonlint"];
|
|
};
|
|
|
|
linters = {
|
|
jsonlint = {
|
|
cmd = "${pkgs.nodePackages_latest.jsonlint}/bin/jsonlint";
|
|
};
|
|
};
|
|
};
|
|
|
|
lsp.servers.jsonls = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|