diff --git a/flake.nix b/flake.nix index f2182fe..5cd6c9e 100644 --- a/flake.nix +++ b/flake.nix @@ -175,6 +175,7 @@ typst-preview-nvim lsp-progress-nvim lazydev-nvim + obsidian-nvim ]; }; diff --git a/lua/plugins/lz-spec.lua b/lua/plugins/lz-spec.lua index 3c2beef..35b32de 100644 --- a/lua/plugins/lz-spec.lua +++ b/lua/plugins/lz-spec.lua @@ -277,4 +277,19 @@ return { require("lazydev").setup() end, }, + { + "obsidian.nvim", + filetypes = { "markdown" }, + after = function() + require("obsidian").setup({ + ui = { enable = false }, + workspaces = { + { + name = "vault", + path = "~/Documents/vaults/vault", + }, + }, + }) + end, + }, }