nix-community.nixvim/tests/test-sources/plugins/languages/python/jupytext.nix
2024-12-14 22:37:37 +00:00

36 lines
717 B
Nix

{ pkgs, ... }:
pkgs.lib.optionalAttrs (pkgs.stdenv.hostPlatform.system != "aarch64-darwin") {
empty = {
plugins.jupytext.enable = true;
};
defaults = {
plugins.jupytext = {
enable = true;
settings = {
style = "hydrogen";
output_extension = "auto";
force_ft = null;
custom_language_formatting = { };
};
};
};
example = {
plugins.jupytext = {
enable = true;
settings = {
style = "light";
output_extension = "auto";
force_ft = null;
custom_language_formatting.python = {
extension = "md";
style = "markdown";
force_ft = "markdown";
};
};
};
};
}