From 337fcae467a3b3105f367ce91fba47ff3f3c6068 Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Sun, 31 Aug 2025 10:32:03 -0300 Subject: =?UTF-8?q?feat(core):=20elimina=20la=20integraci=C3=B3n=20de=20ae?= =?UTF-8?q?rial.nvim=20y=20actualiza=20el=20plugin=20fzf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Se eliminó el plugin aerial.nvim y su configuración para la navegación de esquemas de código, simplificando la configuración de plugins y reduciendo la carga de mantenimiento. - Se actualizó el plugin fzf al último commit para mejorar el rendimiento y corregir errores. - Se refactorizaron las rutas de noice.nvim para mayor legibilidad y mantenibilidad, expandiendo las definiciones de rutas. --- lua/plugins/aerial.lua | 54 -------------------------------------------------- lua/plugins/noice.lua | 38 ++++++++++++++++++++++++++++++++--- 2 files changed, 35 insertions(+), 57 deletions(-) delete mode 100644 lua/plugins/aerial.lua (limited to 'lua/plugins') diff --git a/lua/plugins/aerial.lua b/lua/plugins/aerial.lua deleted file mode 100644 index f8bc139..0000000 --- a/lua/plugins/aerial.lua +++ /dev/null @@ -1,54 +0,0 @@ --- Silent keymap option -local opts = { silent = true } - -return { - { - "folke/edgy.nvim", - optional = true, - opts = function(_, opts) - opts.right = opts.right or {} - table.insert(opts.right, "aerial") - table.insert(opts.right, { - title = "hurl.nvim", - ft = "hurl-nvim", - size = { width = 0.5 }, - }) - - end, - }, - { - "stevearc/aerial.nvim", - keys = { - { "ta", "AerialToggle", desc = "AerialToggle" }, - }, - config = function() - local status_ok, aerial = pcall(require, "aerial") - if not status_ok then - return - end - - aerial.setup({ - -- optionally use on_attach to set keymaps when aerial has attached to a buffer - on_attach = function(bufnr) - -- Jump forwards/backwards with '{' and '}' - vim.keymap.set("n", "{", "AerialPrev", { buffer = bufnr }) - vim.keymap.set("n", "}", "AerialNext", { buffer = bufnr }) - - vim.keymap.set("n", "fi", "Telescope aerial", opts) - end, - }) - - local tele_status_ok, telescope = pcall(require, "telescope") - if not tele_status_ok then - return - end - - -- Define a custom command to open aerial with telescope - vim.keymap.set("n", "fi", "Telescope aerial", { - desc = "Telescope Aerial", - }) - - telescope.load_extension("aerial") - end, - }, -} diff --git a/lua/plugins/noice.lua b/lua/plugins/noice.lua index b8942be..314db31 100644 --- a/lua/plugins/noice.lua +++ b/lua/plugins/noice.lua @@ -202,11 +202,43 @@ return { ---@type NoiceFormatOptions format = {}, --- @see section on formatting routes = { - { view = "split", filter = { cmdline = "G" }, opts = { enter = true, render = "plain", format = { "{message}" }, replace = true, close = { events = { "BufLeave" }, keys = { "q" } } } }, - { view = "split", filter = { cmdline = "Notifications" }, opts = { enter = true, render = "plain", format = { "{message}" }, replace = true, close = { events = { "BufLeave" }, keys = { "q" } } } }, + { + view = "split", + filter = { cmdline = "G" }, + opts = { + enter = true, + render = "plain", + format = { "{message}" }, + replace = true, + close = { events = { "BufLeave" }, keys = { "q" } }, + }, + }, + { + view = "split", + filter = { cmdline = "Notifications" }, + opts = { + enter = true, + render = "plain", + format = { "{message}" }, + replace = true, + close = { events = { "BufLeave" }, keys = { "q" } }, + }, + }, { view = "mini", filter = { cmdline = "w" } }, { view = "mini", filter = { find = "Config Change Detected. Reloading..." } }, - { view = "mini", filter = { any = { { event = "msg_show", find = "lines yanked" }, { event = "msg_show", find = "more lines" }, { event = "msg_show", find = "direnv:" }, { find = "laravel.sail." }, { find = "Pattern not found" }, { event = "msg_show", kind = "", find = "change;" } } } }, + { + view = "mini", + filter = { + any = { + { event = "msg_show", find = "lines yanked" }, + { event = "msg_show", find = "more lines" }, + { event = "msg_show", find = "direnv:" }, + { find = "laravel.sail." }, + { find = "Pattern not found" }, + { event = "msg_show", kind = "", find = "change;" }, + }, + }, + }, }, }, } -- cgit v1.2.3