markdown improvements and lazy config changes
This commit is contained in:
parent
f1ca602f8d
commit
3ae37019b1
3 changed files with 15 additions and 13 deletions
7
init.lua
7
init.lua
|
@ -17,7 +17,12 @@ vim.opt.rtp:prepend(lazypath)
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
vim.g.maplocalleader = " "
|
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 ]]
|
-- [[ Setting options ]]
|
||||||
-- See `:help vim.o`
|
-- See `:help vim.o`
|
||||||
|
|
|
@ -60,16 +60,5 @@ return {
|
||||||
require("Comment").setup()
|
require("Comment").setup()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
"SidOfc/mkdx",
|
"SidOfc/mkdx"
|
||||||
{
|
|
||||||
"ellisonleao/glow.nvim",
|
|
||||||
cmd = "Glow",
|
|
||||||
config = function ()
|
|
||||||
require('glow').setup({
|
|
||||||
style = "dark",
|
|
||||||
width = 120,
|
|
||||||
install_path = "~/.nix-profile/bin/glow"
|
|
||||||
})
|
|
||||||
end
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
8
lua/plugins/markdown-composer.lua
Normal file
8
lua/plugins/markdown-composer.lua
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
return {
|
||||||
|
"euclio/vim-markdown-composer",
|
||||||
|
keys = {
|
||||||
|
{ "<leader>nv", "<cmd>ComposerStart<cr>", desc = "Composer Start" },
|
||||||
|
},
|
||||||
|
build = "cargo build --release --locked"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue