add obsidian nvim plugin

currently disabled cuz it sucks
This commit is contained in:
jc 2024-02-22 18:30:29 -05:00
commit 235d3908a7
No known key found for this signature in database
3 changed files with 37 additions and 0 deletions

View file

@ -37,6 +37,7 @@ return {
javascriptreact = { "prettierd" },
typescriptreact = { "prettierd" },
go = { "gofumpt" },
python = { "autopep8" },
},
format_on_save = function(bufnr)
if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then

View file

@ -0,0 +1,34 @@
return {
"epwalsh/obsidian.nvim",
version = "*", -- recommended, use latest release instead of latest commit
lazy = true,
ft = "markdown",
enabled = false,
-- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
-- event = {
-- -- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'.
-- -- E.g. "BufReadPre " .. vim.fn.expand "~" .. "/my-vault/**.md"
-- "BufReadPre path/to/my-vault/**.md",
-- "BufNewFile path/to/my-vault/**.md",
-- },
dependencies = {
-- Required.
"nvim-lua/plenary.nvim",
-- see below for full list of optional dependencies 👇
},
opts = {
workspaces = {
{
name = "personal",
path = "~/Documents/Obsidian Vault",
},
{
name = "work",
path = "~/vaults/work",
},
},
-- see below for full list of options 👇
},
}