From df7c711e2a49d51249350f52c63274b72aacb739 Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Sun, 27 Sep 2026 12:46:49 -0300 Subject: =?UTF-8?q?Migraci=C3=B3n=20de=20plugins=20a=20funcionalidad=20nat?= =?UTF-8?q?iva:=20statusline=20y=20treesitter=20propios,=20se=20quitan=20m?= =?UTF-8?q?ason,=20lualine,=20mini,=20notify=20y=20otros?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/plugins/completition.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'lua/plugins/completition.lua') diff --git a/lua/plugins/completition.lua b/lua/plugins/completition.lua index 071c16c..bde2568 100644 --- a/lua/plugins/completition.lua +++ b/lua/plugins/completition.lua @@ -155,6 +155,26 @@ return { -- Experimental signature help support signature = { enabled = true }, + cmdline = { + enabled = true, + keymap = { + [""] = { "select_next", "fallback" }, + [""] = { "select_prev", "fallback" }, + [""] = { "accept", "fallback" }, + [""] = { "cancel", "fallback" }, + }, + completion = { + list = { selection = { preselect = false, auto_insert = false } }, + menu = { auto_show = true }, + }, + sources = function() + local type = vim.fn.getcmdtype() + if type == "/" or type == "?" then return { "buffer" } end + if type == ":" or type == "@" then return { "cmdline" } end + return {} + end, + }, + -- (Default) Rust fuzzy matcher for typo resistance and significantly better performance fuzzy = { implementation = "prefer_rust_with_warning" }, }, -- cgit v1.2.3