From 6c6ec48b8678dc28331075c5f0c79a3da229ce6e Mon Sep 17 00:00:00 2001 From: mzpx Date: Sat, 27 Jun 2026 17:49:36 +0200 Subject: [PATCH] mini.icon added, error corrected --- lua/mzpx/core/keymaps.lua | 4 ++-- lua/mzpx/core/plugins.lua | 28 +++++++++++++++++----------- lua/mzpx/plug/which-key.lua | 2 +- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/lua/mzpx/core/keymaps.lua b/lua/mzpx/core/keymaps.lua index 2c92682..4c7d9b9 100755 --- a/lua/mzpx/core/keymaps.lua +++ b/lua/mzpx/core/keymaps.lua @@ -74,8 +74,8 @@ keymap.set( "n", "tp", ":tabp" ) -- go to prev tab -- -- diagnostic warning/error navigation -- -keymap.set( "n", "g[", vim.diagnostic.goto_prev) -keymap.set( "n", "g]", vim.diagnostic.goto_next) +-- keymap.set( "n", "g[", vim.diagnostic.goto_prev) +-- keymap.set( "n", "g]", vim.diagnostic.goto_next) -- ---------------------------------------------------------------------------- diff --git a/lua/mzpx/core/plugins.lua b/lua/mzpx/core/plugins.lua index 13404c6..1df72f4 100755 --- a/lua/mzpx/core/plugins.lua +++ b/lua/mzpx/core/plugins.lua @@ -191,17 +191,17 @@ return packer.startup(function(use) -- -------------------------------------------------------------- -- render-markdown - mz -- -------------------------------------------------------------- - -- use { - -- "MeanderingProgrammer/render-markdown.nvim", - -- after = { 'nvim-treesitter' }, - -- -- requires = { 'nvim-mini/mini.nvim', opt = true }, -- if you use the mini.nvim suite - -- requires = { 'nvim-mini/mini.icons', opt = true }, -- if you use standalone mini plugins - -- -- requires = { 'nvim-tree/nvim-web-devicons', opt = true }, -- if you prefer nvim-web-devicons - -- config = function() - -- require('render-markdown').setup({}) - -- end - -- } - -- + use { + "MeanderingProgrammer/render-markdown.nvim", + after = { 'nvim-treesitter' }, + -- requires = { 'nvim-mini/mini.nvim', opt = true }, -- if you use the mini.nvim suite + requires = { 'nvim-mini/mini.icons', opt = true }, -- if you use standalone mini plugins + -- requires = { 'nvim-tree/nvim-web-devicons', opt = true }, -- if you prefer nvim-web-devicons + config = function() + require('render-markdown').setup({}) + end + } + -- -------------------------------------------------------------------------------------------- -- which-key @@ -240,6 +240,12 @@ return packer.startup(function(use) end } + + use { + 'nvim-mini/mini.icons' + } + + -- -------------------------------------------------------------------------------------------- -- Automatically set up your configuration after cloning packer.nvim. -- Put this at the end after all plugins. diff --git a/lua/mzpx/plug/which-key.lua b/lua/mzpx/plug/which-key.lua index fe058e2..95d8574 100755 --- a/lua/mzpx/plug/which-key.lua +++ b/lua/mzpx/plug/which-key.lua @@ -29,7 +29,7 @@ require("which-key").setup { scroll_up = "", -- binding to scroll up inside the popup }, window = { - border = "none", -- none, single, double, shadow + border = "shadow", -- none, single, double, shadow position = "bottom", -- bottom, top margin = { 1, 0, 1, 0 }, -- extra window margin [top, right, bottom, left]. When between 0 and 1, will be treated as a percentage of the screen size. padding = { 1, 2, 1, 2 }, -- extra window padding [top, right, bottom, left]