image support with snacks
This commit is contained in:
1
init.lua
1
init.lua
@@ -54,7 +54,6 @@ if theme_ok then
|
|||||||
matugen.setup()
|
matugen.setup()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-- load lsp and bufferline plugins
|
-- load lsp and bufferline plugins
|
||||||
require("config.lsp")
|
require("config.lsp")
|
||||||
-- render bufferline
|
-- render bufferline
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
return { -- Collection of various small independent plugins/modules
|
return { -- Collection of various small independent plugins/modules
|
||||||
|
{
|
||||||
'echasnovski/mini.nvim',
|
'echasnovski/mini.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
-- Better Around/Inside textobjects
|
-- Better Around/Inside textobjects
|
||||||
@@ -29,4 +30,17 @@ return { -- Collection of various small independent plugins/modules
|
|||||||
require('mini.clue').setup()
|
require('mini.clue').setup()
|
||||||
|
|
||||||
end,
|
end,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'folke/snacks.nvim',
|
||||||
|
config = function()
|
||||||
|
require("snacks").setup({
|
||||||
|
image = {
|
||||||
|
enabled = true,
|
||||||
|
-- This ensures that when you open an image file, it renders
|
||||||
|
-- You can also toggle it manually with :SnacksImage
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user