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

Merged
shaun merged 1 commits from feature/update_nvim_obsidian_config into master 2025-07-01 22:07:53 -04:00
3 changed files with 9 additions and 8 deletions
Showing only changes of commit c210623de9 - Show all commits

View File

@@ -1,5 +1,5 @@
# Defined in - @ line 1 # Defined in - @ line 1
function od --wraps='nvim +ObsidianTomorrow' --description 'alias od=nvim +ObsidianTomorrow' function ot --wraps='nvim +ObsidianTomorrow' --description 'alias ot=nvim +ObsidianTomorrow'
nvim +ObsidianTomorrow nvim +ObsidianTomorrow
end end

View File

@@ -1,5 +1,5 @@
# Defined in - @ line 1 # Defined in - @ line 1
function od --wraps='nvim +ObsidianYesterday' --description 'alias od=nvim +ObsidianYesterday' function oy --wraps='nvim +ObsidianYesterday' --description 'alias oy=nvim +ObsidianYesterday'
nvim +ObsidianYesterday nvim +ObsidianYesterday
end end

View File

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