From b2285b1f7cee051799ba022fc89d6eb3d216e38a Mon Sep 17 00:00:00 2001 From: Rue Coimbra <69476182+Rue0612@users.noreply.github.com> Date: Mon, 6 Oct 2025 19:42:42 -0300 Subject: [PATCH] Changed some shi that was pissing me off --- init.lua | 40 +++++++++++++--------------------------- 1 file changed, 13 insertions(+), 27 deletions(-) diff --git a/init.lua b/init.lua index 8a199b44..de793bc9 100644 --- a/init.lua +++ b/init.lua @@ -567,6 +567,7 @@ require('lazy').setup({ return diagnostic_message[diagnostic.severity] end, }, + update_in_insert = true, } -- LSP servers and clients are able to communicate to each other what features they support. @@ -733,28 +734,13 @@ require('lazy').setup({ --- @type blink.cmp.Config opts = { keymap = { - -- 'default' (recommended) for mappings similar to built-in completions - -- to accept ([y]es) the completion. - -- This will auto-import if your LSP supports it. - -- This will expand snippets if the LSP sent a snippet. - -- 'super-tab' for tab to accept - -- 'enter' for enter to accept - -- 'none' for no mappings - -- - -- For an understanding of why the 'default' preset is recommended, - -- you will need to read `:help ins-completion` - -- - -- No, but seriously. Please read `:help ins-completion`, it is really good! - -- - -- All presets have the following mappings: - -- /: move to right/left of your snippet expansion - -- : Open menu or open docs if already open - -- / or /: Select next/previous item - -- : Hide menu - -- : Toggle signature help - -- - -- See :h blink-cmp-config-keymap for defining your own keymap - preset = 'default', + -- I don't know why default is recomended Tj + -- I don't want to know why + -- I don't need to know why + -- I just wanna autocomplete with tab and be happy with it + -- sorry + -- even tho I am on neovim I prefer simplicity + preset = 'super-tab', -- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see: -- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps @@ -895,11 +881,11 @@ require('lazy').setup({ -- Here are some example plugins that I've included in the Kickstart repository. -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- - -- require 'kickstart.plugins.debug', - -- require 'kickstart.plugins.indent_line', - -- require 'kickstart.plugins.lint', - -- require 'kickstart.plugins.autopairs', - -- require 'kickstart.plugins.neo-tree', + require 'kickstart.plugins.debug', + require 'kickstart.plugins.indent_line', + require 'kickstart.plugins.lint', + require 'kickstart.plugins.autopairs', + require 'kickstart.plugins.neo-tree', -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`