Compare commits
1 commit
fe00695bde
...
3229597138
Author | SHA1 | Date | |
---|---|---|---|
3229597138 |
1 changed files with 4 additions and 2 deletions
|
@ -2,10 +2,11 @@
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
helpers,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
helpers = if lib.hasAttrByPath [ "lib" "nixvim" ] config then config.lib.nixvim else lib.nixvim;
|
||||||
|
|
||||||
inherit (helpers) enableExceptInTests;
|
inherit (helpers) enableExceptInTests;
|
||||||
inherit (lib.trivial) const;
|
inherit (lib.trivial) const;
|
||||||
cfg = config.jhome.nvim;
|
cfg = config.jhome.nvim;
|
||||||
|
@ -138,7 +139,7 @@ in
|
||||||
{
|
{
|
||||||
extraPackages = [ (pkgs.python3.withPackages (p: [ p.jupytext ])) ];
|
extraPackages = [ (pkgs.python3.withPackages (p: [ p.jupytext ])) ];
|
||||||
plugins = {
|
plugins = {
|
||||||
image.enable = enableExceptInTests;
|
image.enable = lib.mkForce enableExceptInTests;
|
||||||
jupytext = {
|
jupytext = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.custom_language_formatting.python = {
|
settings.custom_language_formatting.python = {
|
||||||
|
@ -174,6 +175,7 @@ in
|
||||||
mode = "virtualtext";
|
mode = "virtualtext";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
hunk.enable = true;
|
||||||
otter.enable = true;
|
otter.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue