plugins/obsidian: adapt options (now using the obsidian-nvim community fork)

This commit is contained in:
Gaetan Lepage 2025-03-24 09:13:18 +01:00 committed by Gaétan Lepage
parent db01a0dd97
commit c9597b37d8
3 changed files with 44 additions and 7 deletions

View file

@ -32,6 +32,7 @@
new_notes_location = "current_dir";
completion = {
nvim_cmp = true;
blink = false;
min_chars = 2;
};
};
@ -39,6 +40,28 @@
};
};
blink-cmp = {
# Issue within the obsidian.nvim plugin itself:
# ERROR: cmp.add_provider is deprecated, use cmp.add_source_provider instead.
test.runNvim = false;
plugins = {
blink-cmp.enable = true;
obsidian = {
enable = true;
settings = {
completion.blink = true;
workspaces = [
{
name = "foo";
path = "~/";
}
];
};
};
};
};
complete-example = {
plugins = {
cmp.enable = true;