diff --git a/init.lua b/init.lua index 977b5b9..dddc205 100644 --- a/init.lua +++ b/init.lua @@ -17,7 +17,12 @@ vim.opt.rtp:prepend(lazypath) vim.g.mapleader = " " vim.g.maplocalleader = " " -require("lazy").setup("plugins") +require("lazy").setup("plugins", { + lockfile = vim.fn.stdpath("data") .. "/lazy-lock.json", -- in data directory as normal location read only as managed by nix + dev = { + path = "~/Projects/Neovim" + } +}) -- [[ Setting options ]] -- See `:help vim.o` diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 283c584..2e7a0c4 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -60,16 +60,5 @@ return { require("Comment").setup() end, }, - "SidOfc/mkdx", - { - "ellisonleao/glow.nvim", - cmd = "Glow", - config = function () - require('glow').setup({ - style = "dark", - width = 120, - install_path = "~/.nix-profile/bin/glow" - }) - end - } + "SidOfc/mkdx" } diff --git a/lua/plugins/markdown-composer.lua b/lua/plugins/markdown-composer.lua new file mode 100644 index 0000000..d895334 --- /dev/null +++ b/lua/plugins/markdown-composer.lua @@ -0,0 +1,8 @@ +return { + "euclio/vim-markdown-composer", + keys = { + { "nv", "ComposerStart", desc = "Composer Start" }, + }, + build = "cargo build --release --locked" +} +