From 1f954d8e31b31eacbbb8410468a2d368609e0a63 Mon Sep 17 00:00:00 2001 From: Lucas Garcia Rubio Date: Sun, 23 Mar 2025 19:23:07 -0300 Subject: [PATCH] =?UTF-8?q?configura=20navega=C3=A7=C3=A3o=20em=20docs=20d?= =?UTF-8?q?entro=20de=20luasnip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.lua | 15 +++------------ lazy-lock.json | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/init.lua b/init.lua index a3cc308f..cf29bff4 100644 --- a/init.lua +++ b/init.lua @@ -684,15 +684,6 @@ require('lazy').setup({ }) require('mason-tool-installer').setup { ensure_installed = ensure_installed } - -- Enable navigation in flutuate windows - local cmp = require 'cmp' - cmp.setup { - mapping = { - [''] = cmp.mapping.scroll_docs(-4), - [''] = cmp.mapping.scroll_docs(4), - }, - } - require('mason-lspconfig').setup { ensure_installed = { 'jdtls' }, handlers = { @@ -818,9 +809,9 @@ require('lazy').setup({ -- Select the [p]revious item [''] = cmp.mapping.select_prev_item(), - -- Scroll the documentation window [b]ack / [f]orward - [''] = cmp.mapping.scroll_docs(-4), - [''] = cmp.mapping.scroll_docs(4), + -- Scroll the documentation window + [''] = cmp.mapping.scroll_docs(-4), + [''] = cmp.mapping.scroll_docs(4), -- Accept ([y]es) the completion. -- This will auto-import if your LSP supports it. diff --git a/lazy-lock.json b/lazy-lock.json index 31441747..e777f1f4 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,6 +1,6 @@ { "LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" }, - "auto-session": { "branch": "main", "commit": "9c3f977aafb56bd73ba0d082c4dcbdba5666faf3" }, + "auto-session": { "branch": "main", "commit": "d26acded2f22c2dff9dfb9f479e62ab24386ceef" }, "cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },