29 lines
600 B
Lua
29 lines
600 B
Lua
local function ssl(opt)
|
|
if opt then
|
|
return "https://127.0.0.1:27124"
|
|
else
|
|
return "http://127.0.0.1:27123"
|
|
end
|
|
end
|
|
local opts = {
|
|
obsidian_server_address = ssl(true),
|
|
cert_path = "/home/fic/.ssl/obsidiasexpenisn-bridge.pem",
|
|
}
|
|
return {
|
|
"oflisback/obsidian-bridge.nvim",
|
|
-- disable for now because paths aren't working
|
|
enabled = true,
|
|
dev = true,
|
|
-- config = function()
|
|
-- require("obsidian-bridge").setup(opts)
|
|
-- end,
|
|
opts = opts,
|
|
event = {
|
|
"BufReadPre *.md",
|
|
"BufNewFile *.md",
|
|
},
|
|
lazy = true,
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
},
|
|
}
|