nvim: Add optional snacks.nvim dependency for updated molten-nvim
Since the molten-nvim plugin supports setting `snacks.nvim` as `molten_image_provider`, we add it as optional dependency. It is _not_ enabled yet however, have to figure out how to accomplish this from the embedded optional spec, and also fix molten-nvim before adding more stuff to it.
This commit is contained in:
parent
e63681c16b
commit
04fc9b8017
2 changed files with 9 additions and 1 deletions
|
|
@ -53,7 +53,7 @@
|
|||
"mini.files": { "branch": "main", "commit": "49c855977e9f4821d1ed8179ed44fe098b93ea2a" },
|
||||
"mini.nvim": { "branch": "main", "commit": "94cae4660a8b2d95dbbd56e1fbc6fcfa2716d152" },
|
||||
"mini.starter": { "branch": "main", "commit": "d8038690eadf203a40863c3a9423df880a901d39" },
|
||||
"molten-nvim": { "branch": "main", "commit": "a286aa914d9a154bc359131aab788b5a077a5a99" },
|
||||
"molten-nvim": { "branch": "main", "commit": "4fd7be6a12b5efda5179db642f13bad60893acca" },
|
||||
"neo-tree-jj.nvim": { "branch": "main", "commit": "c6534930c6f79893e12eafbb722ee23e6a83e80e" },
|
||||
"neo-tree.nvim": { "branch": "main", "commit": "f481de16a0eb59c985abac8985e3f2e2f75b4875" },
|
||||
"neogen": { "branch": "main", "commit": "b2e78708876f4da507839726816010a68e33fec8" },
|
||||
|
|
|
|||
|
|
@ -108,8 +108,16 @@ return {
|
|||
-- REPL work
|
||||
{
|
||||
"benlubas/molten-nvim",
|
||||
version = false,
|
||||
dependencies = {
|
||||
{ "willothy/wezterm.nvim", config = true },
|
||||
{
|
||||
"folke/snacks.nvim",
|
||||
optional = true,
|
||||
opts = { image = { enabled = true } },
|
||||
cond = vim.fn.executable("magick") == 1, -- only runs if ImageMagick installed
|
||||
-- FIXME: how to correctly set 'molten_image_provider' after loading?
|
||||
}, -- preferred image display
|
||||
{ "image.nvim", optional = true },
|
||||
},
|
||||
build = ":UpdateRemotePlugins",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue