mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-01 16:45:55 +00:00
notes/obsidian-nvim: fix checkhealth by building from pin manually
This commit is contained in:
parent
f4d3a56e4b
commit
e61c2faf92
1 changed files with 15 additions and 0 deletions
|
|
@ -46,6 +46,21 @@
|
|||
# Disable failing require check hook checks
|
||||
doCheck = false;
|
||||
};
|
||||
# Checkhealth fails to get the plugin's commit and therefore to
|
||||
# show the rest of the useful diagnostics if not built like this.
|
||||
obsidian-nvim = pkgs.vimUtils.buildVimPlugin {
|
||||
# If set to `"obsidian-nvim"`, this breaks like `buildPlug` and `noBuildPlug`.
|
||||
name = "obsidian.nvim";
|
||||
src = getPin "obsidian-nvim";
|
||||
nvimSkipModules = [
|
||||
"minimal"
|
||||
# require picker plugins
|
||||
"obsidian.picker._telescope"
|
||||
"obsidian.picker._snacks"
|
||||
"obsidian.picker._fzf"
|
||||
"obsidian.picker._mini"
|
||||
];
|
||||
};
|
||||
|
||||
# Get plugins built from source from self.packages
|
||||
# If adding a new plugin to be built from source, it must also be inherited
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue