revert conform

This commit is contained in:
Sam 2025-01-12 10:24:19 +00:00
parent 5a8a30e053
commit 27e1e74488
1 changed files with 18 additions and 20 deletions

View File

@ -1,26 +1,24 @@
{ {
programs.nixvim.plugins.conform-nvim = { programs.nixvim.plugins.conform-nvim = {
enable = true; enable = true;
settings = { notifyOnError = true;
notifyOnError = true; logLevel = "debug";
logLevel = "debug"; formattersByFt = {
formattersByFt = { html = ["prettierd"];
html = ["prettierd"]; css = ["prettierd"];
css = ["prettierd"]; javascript = ["prettierd"];
javascript = ["prettierd"]; python = ["black"];
python = ["black"]; lua = ["stylua"];
lua = ["stylua"]; nix = ["alejandra"];
nix = ["alejandra"]; markdown = ["prettierd"];
markdown = ["prettierd"]; yaml = ["yamlfmt"];
yaml = ["yamlfmt"]; sql = ["sqlfmt"];
sql = ["sqlfmt"]; #sql = ["sql-formatter"];
#sql = ["sql-formatter"]; bash = [
bash = [ "shellcheck"
"shellcheck" "shellharden"
"shellharden" "shfmt"
"shfmt" ];
];
};
}; };
# formatters = { # formatters = {
# sql-formatter = { # sql-formatter = {