Add obsidian plugin, havent set up any bindings for it yet, just the basics
This commit is contained in:
parent
914299366f
commit
8337ec9cb7
1 changed files with 22 additions and 0 deletions
22
nvim/lua/plugs/obsidian.lua
Normal file
22
nvim/lua/plugs/obsidian.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
return {
|
||||||
|
"epwalsh/obsidian.nvim",
|
||||||
|
version = "*",
|
||||||
|
lazy = true,
|
||||||
|
ft = "markdown",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
local scndbrn_path = vim.fn.has("unixmac") == 1 and
|
||||||
|
"~/rp4-data/obsidian-vault/scndbrn" or
|
||||||
|
"/mnt/rp4-data/obsidian-vault/scndbrn"
|
||||||
|
require("obsidian").setup({
|
||||||
|
workspaces = {
|
||||||
|
{
|
||||||
|
name = "scndbrn",
|
||||||
|
path = scndbrn_path,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue