mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
36 lines
717 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|