diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2026-09-27 12:46:49 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2026-09-27 12:46:49 -0300 |
| commit | df7c711e2a49d51249350f52c63274b72aacb739 (patch) | |
| tree | 426da3b65371f857f3ee3d9893d7ff3279aac02e /lua/plugins/completition.lua | |
| parent | a0bd84df02ce235123dfc939327e8bd33dffdd7e (diff) | |
| download | nvim-conf-df7c711e2a49d51249350f52c63274b72aacb739.tar.gz nvim-conf-df7c711e2a49d51249350f52c63274b72aacb739.zip | |
Migración de plugins a funcionalidad nativa: statusline y treesitter propios, se quitan mason, lualine, mini, notify y otros
Diffstat (limited to 'lua/plugins/completition.lua')
| -rw-r--r-- | lua/plugins/completition.lua | 20 |
1 files changed, 20 insertions, 0 deletions
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 = { + ["<Tab>"] = { "select_next", "fallback" }, + ["<S-Tab>"] = { "select_prev", "fallback" }, + ["<CR>"] = { "accept", "fallback" }, + ["<C-e>"] = { "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" }, }, |