~tommoa/dots

0c35cef5cba1916a3098ca987740d37acce72ad1 — Tom Almeida 6 months ago 0c8daf1
feat(nvim): Add obsidian plugin
1 files changed, 28 insertions(+), 0 deletions(-)

M .config/nvim/lua/tom/plugins.lua
M .config/nvim/lua/tom/plugins.lua => .config/nvim/lua/tom/plugins.lua +28 -0
@@ 121,6 121,34 @@ return require('packer').startup(function(use)
        },
    }

    -- Obsidian
    use {
        "epwalsh/obsidian.nvim",
        tag = "*",
        requires = {
            "nvim-lua/plenary.nvim",
            "nvim-telescope/telescope.nvim",
            "nvim-treesitter/nvim-treesitter",
            "hrsh7th/nvim-cmp",
        },
        config = function()
            require("obsidian").setup {
                workspaces = {
                    {
                        name = "personal",
                        path = "~/Documents/Obsidian Vault/",
                    }
                },
                daily_notes = {
                    folder = "Resources/Daily Note",
                },
                completion = {
                    nvim_cmp = true,
                },
            }
        end,
    }

    -- Languages
    use {
        -- Rust