Skip to content

Commit

Permalink
fix setup event for lazy.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Sep 4, 2023
1 parent 6b17ee6 commit 60f8da4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ Here are some examples using different plugin managers. The full set of [plugin
return {
"epwalsh/obsidian.nvim",
lazy = true,
event = { "BufReadPre path/to/my-vault/**.md" },
event = { "BufEnter path/to/my-vault/**.md" },
-- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand':
-- event = { "BufReadPre " .. vim.fn.expand "~" .. "/my-vault/**.md" },
-- event = { "BufEnter " .. vim.fn.expand "~" .. "/my-vault/**.md" },
dependencies = {
-- Required.
"nvim-lua/plenary.nvim",
Expand Down

0 comments on commit 60f8da4

Please sign in to comment.