mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add obsidian.nvim plugin
This commit is contained in:
24
nvim/lua/plugins/obsidian.lua
Normal file
24
nvim/lua/plugins/obsidian.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
-- Obsidian
|
||||
-- https://github.com/epwalsh/obsidian.nvim
|
||||
return {
|
||||
"epwalsh/obsidian.nvim",
|
||||
lazy = true,
|
||||
event = {
|
||||
"BufReadPre " .. vim.fn.expand("~") .. "/Library/Mobile Documents/iCloud~md~obsidian/Documents/Zettelkasten/**.md",
|
||||
},
|
||||
dependencies = {
|
||||
-- required
|
||||
"nvim-lua/plenary.nvim",
|
||||
-- optional
|
||||
"hrsh7th/nvim-cmp",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"ibhagwan/fzf-lua",
|
||||
"junegunn/fzf",
|
||||
"junegunn/fzf.vim",
|
||||
"godlygeek/tabular",
|
||||
"preservim/vim-markdown",
|
||||
},
|
||||
opts = {
|
||||
dir = "~/Library/Mobile Documents/iCloud~md~obsidian/Documents/Zettelkasten", -- no need to call 'vim.fn.expand' here
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user