Allow obsidian nvim plugin to not be lazy. Fix copy paste errors in related fish functions.

This commit was merged in pull request #25.
This commit is contained in:
Shaun Setlock
2025-07-01 22:07:20 -04:00
parent f1c0d9ced5
commit c210623de9
3 changed files with 9 additions and 8 deletions

View File

@@ -1,14 +1,15 @@
return {
"epwalsh/obsidian.nvim",
version = "*", -- recommended, use latest release instead of latest commit
lazy = true,
-- Below will load the plugin for all markdown files.
-- Disable lazy so that I can open daily notes from any directory and from outside of nvim.
-- lazy = true,
-- Below will load the plugin only for markdown files.
-- ft = "markdown",
-- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
event = {
"BufReadPre /home/shaun/Obsidian/*.md",
"BufNewFile /home/shaun/Obsidian/*.md",
},
-- event = {
-- "BufReadPre /home/shaun/Obsidian/*.md",
-- "BufNewFile /home/shaun/Obsidian/*.md",
-- },
dependencies = {
-- Required.
"nvim-lua/plenary.nvim",