diff options
Diffstat (limited to '')
| -rw-r--r-- | lua/pml68/plugins.lua | 30 | ||||
| -rw-r--r-- | lua/pml68/settings.lua | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua index 0a0430a..2e2a615 100644 --- a/lua/pml68/plugins.lua +++ b/lua/pml68/plugins.lua @@ -4,6 +4,36 @@ 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" }, + ft = { "css", "scss", "html", "svelte", "markdown" }, + config = function() + require("image").setup({ + backend = "ueberzug", + integrations = { + neorg = { + enabled = false, + }, + html = { + enabled = true, + }, + css = { + enabled = true, + }, + }, + max_width_window_percentage = 90, + }) + end + }, -- Oil.nvim { "stevearc/oil.nvim", diff --git a/lua/pml68/settings.lua b/lua/pml68/settings.lua index 4aa6a6f..62aae61 100644 --- a/lua/pml68/settings.lua +++ b/lua/pml68/settings.lua @@ -25,6 +25,7 @@ vim.o.clipboard = "unnamedplus" vim.opt.whichwrap:append "<>[]hl" vim.o.foldmethod = "expr" +vim.o.foldenable = false vim.o.foldexpr = "v:lua.vim.treesitter.foldexpr()" vim.env.PATH = vim.fn.stdpath "data" .. "/mason/bin" .. ":" .. vim.env.PATH |
