diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2025-08-31 10:32:03 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2025-08-31 10:32:03 -0300 |
| commit | 337fcae467a3b3105f367ce91fba47ff3f3c6068 (patch) | |
| tree | 12e4ddf7d9b7cecfb011d4a823ce936b2268865a | |
| parent | 0b4280dec8fec6ef2e2281ec3616918e7b78d275 (diff) | |
| download | nvim-conf-337fcae467a3b3105f367ce91fba47ff3f3c6068.tar.gz nvim-conf-337fcae467a3b3105f367ce91fba47ff3f3c6068.zip | |
feat(core): elimina la integración de aerial.nvim y actualiza el plugin fzf
- 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.
| -rw-r--r-- | lazy-lock.json | 3 | ||||
| -rw-r--r-- | lua/plugins/aerial.lua | 54 | ||||
| -rw-r--r-- | lua/plugins/noice.lua | 38 |
3 files changed, 36 insertions, 59 deletions
diff --git a/lazy-lock.json b/lazy-lock.json index 590a695..f646100 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -6,7 +6,6 @@ "LuaSnip": { "branch": "master", "commit": "500981ff6cefc7343e3959ef0f939bd0bfd49ba9" }, "NeoColumn.nvim": { "branch": "main", "commit": "db7695c7c70fcacd290712deef659bca464634ee" }, "SmoothCursor.nvim": { "branch": "main", "commit": "12518b284e1e3f7c6c703b346815968e1620bee2" }, - "aerial.nvim": { "branch": "master", "commit": "c7cbbad40c2065fccfd1f1863bb2c08180c0533d" }, "animation.nvim": { "branch": "main", "commit": "fb77091ab72ec9971aee0562e7081182527aaa6a" }, "baleia.nvim": { "branch": "main", "commit": "1b25eac3ac03659c3d3af75c7455e179e5f197f7" }, "blink-cmp-copilot": { "branch": "main", "commit": "439cff78780c033aa23cf061d7315314b347e3c1" }, @@ -24,7 +23,7 @@ "floaterm": { "branch": "main", "commit": "ae3de018d20dccd9372bbff7137e8a6d6030f69e" }, "flutter-tools.nvim": { "branch": "main", "commit": "65b7399804315a1160933b64292d3c5330aa4e9f" }, "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, - "fzf": { "branch": "master", "commit": "a3c9f8bfee944e5a8b272b8dd1aaed1992c4989d" }, + "fzf": { "branch": "master", "commit": "59dc7f178f9ef6fa1d10bc4e0637a2254c6f3868" }, "fzf-lua": { "branch": "main", "commit": "96dede0bca5cc24868df7c8b46b5a32b89c2f19d" }, "fzf.vim": { "branch": "master", "commit": "3725f364ccd25b85a91970720ba9bc2931861910" }, "git-worktree.nvim": { "branch": "master", "commit": "f247308e68dab9f1133759b05d944569ad054546" }, 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 = { - { "<leader>ta", "<cmd>AerialToggle<cr>", 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", "{", "<cmd>AerialPrev<CR>", { buffer = bufnr }) - vim.keymap.set("n", "}", "<cmd>AerialNext<CR>", { buffer = bufnr }) - - vim.keymap.set("n", "<leader>fi", "<cmd>Telescope aerial<CR>", 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", "<leader>fi", "<cmd>Telescope aerial<CR>", { - 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;" }, + }, + }, + }, }, }, } |