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:
@@ -1,5 +1,5 @@
|
||||
# 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
|
||||
|
||||
end
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 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
|
||||
|
||||
end
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user