diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-04-23 23:43:07 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-04-23 23:43:07 +0300 |
| commit | 996a61f2ddcf137bf2ed2ff62de6472417501cf9 (patch) | |
| tree | 42dfe80ea52894b900a4dae69d0188ca4655988a /.config/nvim/lua/custom | |
| parent | 99d0715a41d63d572f52f8d3e73e15e364b0e8f9 (diff) | |
Added snacks to display images in nvim (needs ghostty)
Diffstat (limited to '.config/nvim/lua/custom')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/snacks.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/snacks.lua b/.config/nvim/lua/custom/plugins/snacks.lua new file mode 100644 index 0000000..c5bda80 --- /dev/null +++ b/.config/nvim/lua/custom/plugins/snacks.lua @@ -0,0 +1,20 @@ +return { + 'folke/snacks.nvim', + ---@type snacks.Config + opts = { + image = { + -- your image configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + }, + }, + keys = { + { + '<leader>si', + function() + require('snacks').image.hover() + end, + }, + }, + lazy = false, +} |
