From 9d58b073f35139dd0982b4b4a2004da83c0e5d21 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 28 Dec 2024 23:10:49 -0800 Subject: [PATCH] feat: add obsidian.nvim and vault --- flake.nix | 1 + lua/plugins/lz-spec.lua | 15 +++++++++++++++ 2 files changed, 16 insertions(+) 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, + }, }