feat: add folke/snacks.nvim plugin

This commit is contained in:
Itay Shalev 2026-04-05 22:57:42 +03:00
parent 0dfca9da09
commit 5d3dcda204
2 changed files with 26 additions and 0 deletions

View File

@ -17,6 +17,7 @@
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
"nvim-web-devicons": { "branch": "master", "commit": "40e9d5a6cc3db11b309e39593fc7ac03bb844e38" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"snacks.nvim": { "branch": "main", "commit": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
"telescope.nvim": { "branch": "master", "commit": "cfb85dcf7f822b79224e9e6aef9e8c794211b20b" },

View File

@ -0,0 +1,25 @@
return {
'folke/snacks.nvim',
priority = 1000,
lazy = false,
---@type snacks.Config
opts = {
-- Enable the image plugin
image = {
enabled = true,
doc = {
-- This allows images to render directly inside Markdown files
inline = true,
-- This shows a floating preview when hovering over an image path
float = true,
max_width = 80,
max_height = 40,
},
},
bigfile = { enabled = true },
notifier = { enabled = true },
quickfile = { enabled = true },
words = { enabled = true },
},
}