init
This commit is contained in:
commit
1e2ca5a6fc
71 changed files with 3330 additions and 0 deletions
30
config/plugins/image.nix
Normal file
30
config/plugins/image.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
plugins = {
|
||||
# For "core.latex.renderer" to work
|
||||
image = {
|
||||
enable = lib.mkIf (builtins.hasAttr "core.latex.renderer" config.plugins.neorg.settings.load) true;
|
||||
settings.integrations = {
|
||||
backend = "ueberzug";
|
||||
neorg = {
|
||||
enabled = true;
|
||||
clearInInsertMode = true;
|
||||
filetypes = [ "norg" ];
|
||||
};
|
||||
markdown = {
|
||||
enabled = true;
|
||||
clearInInsertMode = true;
|
||||
filetypes = [
|
||||
"markdown"
|
||||
"vimwiki"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue