notes/obsidian-nvim: remove unnecessary options and add integrations/compat

This commit is contained in:
alfarel 2025-10-31 19:46:43 +00:00
commit b9f641f34c
No known key found for this signature in database
3 changed files with 120 additions and 36 deletions

View file

@ -154,8 +154,6 @@
[LilleAila](https://github.com/LilleAila):
- Remove `vim.notes.obsidian.setupOpts.dir`, which was set by default. Fixes
issue with setting the workspace directory.
- Add `vim.snippets.luasnip.setupOpts`, which was previously missing.
- Add `"prettierd"` as a formatter option in
`vim.languages.markdown.format.type`.
@ -283,6 +281,8 @@
[alfarel](https://github.com/alfarelcynthesis):
[conform.nvim]: https://github.com/stevearc/conform.nvim
[obsidian.nvim]: https://github.com/obsidian-nvim/obsidian.nvim
[markview.nvim]: https://github.com/OXY2DEV/markview.nvim
- Add missing `yazi.nvim` dependency (`snacks.nvim`).
- Add [mkdir.nvim](https://github.com/jghauser/mkdir.nvim) plugin for automatic
@ -305,6 +305,44 @@
- Fix YAML language module not activating LSP keybinds if the Helm language
module was also enabled.
- Fix `json` language module (default) language server not activating.
- Upgrade [obsidian.nvim] to use a maintained fork, instead of the unmaintained
upstream.
- Support [blink.cmp] and completion plugin autodetection.
- Support various pickers for prompts, including [snacks.nvim]'s
`snacks.picker`, [mini.nvim]'s `mini.pick`, `telescope`, and [fzf-lua]. nvf
will now pick one of these (in that order) if they are enabled.
- Merge commands like `ObsidianBacklinks` into `Obisidian backlinks`. The old
format is still supported by default.
- Add suggested integration with `snacks.image` for rendering in-workspace
assets.
- Various other improvements.
- Some `setupOpts` options have changed:
- `disable_frontmatter` -> `frontmatter.enabled` (and inverted), still
supported.
- `note_frontmatter_func` -> `frontmatter.func`, still supported.
- `statusline` module is now deprecated in favour of `footer`, still
supported.
- `dir` is no longer supported, use `workspaces`:
```nix
{
workspaces = [
{
name = "any-string";
path = "~/old/dir/path/value";
}
];
}
```
- `use_advanced_uri` -> `open.use_advanced_uri`.
- Mappings are now expected to be set using the built-in Neovim APIs,
managed by `vim.keymaps` in nvf, instead of `mappings` options.
- Some option defaults have changed.
- Supposedly detects if [render-markdown.nvim] or [markview.nvim] are enabled
and disables the `ui` module to prevent conflicts. In testing
`render-markdown.nvim` still has conflicts unless manually disabled, so nvf
will disable `ui.enable` explicitly if either is enabled.
[TheColorman](https://github.com/TheColorman):