feat: Change nix formatter to alejandra

This commit is contained in:
ulic-youthlic 2025-11-09 06:25:03 +08:00
parent 0b8b647f05
commit b4c3dfec42
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
229 changed files with 2528 additions and 2884 deletions

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
{
}: {
youthlic.plugins.conform-nvim.settings = {
formatters_by_ft.c = {
__unkeyed-1 = "clang-format";

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
{
}: {
youthlic.plugins.conform-nvim.settings = {
formatters_by_ft.cpp = {
__unkeyed-1 = "clang-format";

View file

@ -1,6 +1,5 @@
{ pkgs, ... }:
{
extraPackagesAfter = with pkgs; [ idris2Packages.idris2Lsp ];
{pkgs, ...}: {
extraPackagesAfter = with pkgs; [idris2Packages.idris2Lsp];
lsp.servers.idris2 = {
enable = true;
};

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
{
}: {
youthlic.plugins.conform-nvim.settings = {
formatters_by_ft.json = {
__unkeyed-1 = "deno_fmt";

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
{
}: {
lsp.servers.lua_ls = {
enable = true;
};

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
{
}: {
youthlic.plugins.conform-nvim.settings = {
formatters_by_ft.markdown = {
__unkeyed-1 = "deno_fmt";

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
{
}: {
lsp.servers = {
nixd = {
enable = true;

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
{
}: {
youthlic.plugins.conform-nvim.settings = {
formatters_by_ft.python = {
__unkeyed-1 = "ruff_format";

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
{
}: {
youthlic.plugins.conform-nvim.settings = {
formatters_by_ft.rust = {
__unkeyed-1 = "rustfmt";

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
{
}: {
youthlic.plugins.conform-nvim.settings = {
formatters_by_ft.toml = {
__unkeyed-1 = "taplo";

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
{
}: {
youthlic.plugins.conform-nvim.settings = {
formatters_by_ft.yaml = {
__unkeyed-1 = "deno_fmt";