Reformat nix source file using nixfmt

This commit is contained in:
ulic-youthlic 2025-07-13 06:04:55 +08:00
parent 2e4a532958
commit 9201969c1b
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
220 changed files with 3169 additions and 2487 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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