Swap markdown-oxide for marksman in Helix

This commit is contained in:
Jan Kremer 2026-02-16 15:17:48 +01:00
parent 69fc0078d2
commit 95782c18ce
No known key found for this signature in database

View file

@ -5,7 +5,7 @@
defaultEditor = true; defaultEditor = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
markdown-oxide marksman
nixd nixd
nixfmt nixfmt
]; ];
@ -48,12 +48,6 @@
"file-encoding" "file-encoding"
"file-type" "file-type"
]; ];
mode = {
normal = "NORMAL";
insert = "INSERT";
select = "SELECT";
};
}; };
}; };
@ -67,36 +61,17 @@
}; };
}; };
languages = { languages.language = [
# language-server = { {
# nixd = { name = "nix";
# config.nixd = formatter.command = "nixfmt";
# let auto-format = true;
# flake = "(builtins.getFlake (toString ./.))"; }
# in {
# { name = "typst";
# nixpkgs.expr = "import ${flake}.inputs.nixpkgs { }"; formatter.command = "typstyle";
# options = { auto-format = true;
# nixos.expr = "${flake}.nixosConfigurations.galanthus.options"; }
# darwin.expr = "${flake}.darwinConfigurations."Mac von Jan".options"; ];
# home-manager.expr = "${flake}.darwinConfigurations."Mac von Jan".options.home-manager.users.type.getSubOptions []";
# };
# };
# };
# };
language = [
{
name = "nix";
formatter.command = "nixfmt";
auto-format = true;
}
{
name = "typst";
formatter.command = "typstyle";
auto-format = true;
}
];
};
}; };
} }