From 545505e99500c79b2d47176e28c01cbeb1aecf48 Mon Sep 17 00:00:00 2001 From: zsmith Date: Tue, 26 Aug 2025 09:23:21 -0500 Subject: Add vimwiki to nvim --- nvim/lua/plugins.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'nvim/lua/plugins.lua') diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index f90b09c..183a20d 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -14,6 +14,7 @@ vim.opt.rtp:prepend(lazypath) require("lazy").setup({ -- LSP manager { "mason-org/mason.nvim", opts = {} }, + "vimwiki/vimwiki", { "mason-org/mason-lspconfig.nvim", dependencies = { -- cgit v1.2.3 From de445f9cf40a4e9c2e4ae87cc2ee7499208cd4ae Mon Sep 17 00:00:00 2001 From: zsmith Date: Wed, 27 Aug 2025 10:24:11 -0500 Subject: Move vimwiki path to ~/.local/share This is more XDG compliant. --- nvim/lua/plugins.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'nvim/lua/plugins.lua') diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 183a20d..3684b89 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -14,7 +14,15 @@ vim.opt.rtp:prepend(lazypath) require("lazy").setup({ -- LSP manager { "mason-org/mason.nvim", opts = {} }, - "vimwiki/vimwiki", + {"vimwiki/vimwiki", + init = function() + vim.g.vimwiki_list = { + { + path = '~/.local/share/vimwiki' + }, + } + end, + }, { "mason-org/mason-lspconfig.nvim", dependencies = { -- cgit v1.2.3