1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: follow nvim-cmp tutorial, initialize vim-obsidian

This commit is contained in:
2023-07-09 16:32:57 +02:00
parent b953ccae12
commit 074e229d5f
6 changed files with 55 additions and 33 deletions

17
packages/obsidian-vim.nix Normal file
View File

@@ -0,0 +1,17 @@
{
neovim,
vimPlugins,
vault ? "~/cloud/syncthing/obsidian/",
...
}:
neovim.override {
configure = {
customRC = ''
let g:vimwiki_list = [{'path': '${vault}',
\ 'syntax': 'markdown', 'ext': '.md'}]
'';
packages.nvim.start = [
vimPlugins.vimwiki
];
};
}