diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-05-30 14:53:57 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-05-30 14:54:15 +0200 |
| commit | e3ff5386389b9f07d224a24034fd2047295f94d1 (patch) | |
| tree | 0453d0bd8c8a1a4a98690ca864061c0c07857045 /lua | |
| parent | feat: add vim-tmux-navigator (diff) | |
| download | nvim-e3ff5386389b9f07d224a24034fd2047295f94d1.tar.gz | |
feat: add image.nvim and disable folds by default
Diffstat (limited to 'lua')
| -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 |
