markdown improvements and lazy config changes

This commit is contained in:
Salar Rahmanian 2023-02-24 18:56:36 -08:00
parent f1ca602f8d
commit 3ae37019b1
3 changed files with 15 additions and 13 deletions

View file

@ -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`

View file

@ -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"
}

View file

@ -0,0 +1,8 @@
return {
"euclio/vim-markdown-composer",
keys = {
{ "<leader>nv", "<cmd>ComposerStart<cr>", desc = "Composer Start" },
},
build = "cargo build --release --locked"
}