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()
|
||||
end
|
||||
|
||||
|
||||
-- load lsp and bufferline plugins
|
||||
require("config.lsp")
|
||||
-- render bufferline
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
return { -- Collection of various small independent plugins/modules
|
||||
{
|
||||
'echasnovski/mini.nvim',
|
||||
config = function()
|
||||
-- Better Around/Inside textobjects
|
||||
@@ -29,4 +30,17 @@ return { -- Collection of various small independent plugins/modules
|
||||
require('mini.clue').setup()
|
||||
|
||||
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