diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-05-30 20:17:32 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-05-30 20:17:32 +0200 |
| commit | 855f1e235b9718d449767797f0eb4fdadd5168b8 (patch) | |
| tree | a364333ee146168c54cb4b49e9be084ef2da32c6 /lua/pml68 | |
| parent | docs: add image.nvim instructions to README (diff) | |
| download | nvim-855f1e235b9718d449767797f0eb4fdadd5168b8.tar.gz | |
feat(image.nvim): set only_render_image_at_cursor to true
Diffstat (limited to 'lua/pml68')
| -rw-r--r-- | lua/pml68/plugins.lua | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua index 403f2eb..067bf06 100644 --- a/lua/pml68/plugins.lua +++ b/lua/pml68/plugins.lua @@ -4,22 +4,23 @@ local plugins = { "christoomey/vim-tmux-navigator", lazy = false, }, - -- Image support - { - "vhyrro/luarocks.nvim", - priority = 1001, - opts = { - rocks = { "magick" }, - }, - }, { "3rd/image.nvim", - dependencies = { "vhyrro/luarocks.nvim" }, + dependencies = { + "vhyrro/luarocks.nvim", + priority = 1001, + opts = { + rocks = { "magick" }, + }, + }, ft = { "css", "scss", "html", "svelte", "markdown" }, config = function() require("image").setup({ backend = "ueberzug", integrations = { + markdown = { + only_render_image_at_cursor = true, + }, neorg = { enabled = false, }, |
