From d9486fd784c4b9e966c81db684a16ea4b3fb5fd8 Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Sun, 21 Sep 2025 12:32:47 +0200 Subject: [PATCH] Tweaks snippets to fix the tab jumping issue --- nvim/lua/plugs/blink.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nvim/lua/plugs/blink.lua b/nvim/lua/plugs/blink.lua index 01c7809..6d3eed6 100644 --- a/nvim/lua/plugs/blink.lua +++ b/nvim/lua/plugs/blink.lua @@ -11,6 +11,11 @@ return { ls.filetype_extend("typescriptreact", { "html" }) ls.filetype_extend("javascriptreact", { "html" }) + + ls.config.set_config({ + enable_autosnippets = false, + store_selection_keys = false, + }) end }, }, @@ -27,6 +32,8 @@ return { snippets = { preset = "luasnip", + -- Disable snippet navigation while keeping expansion + active = function() return false end, }, -- Default list of enabled providers defined so that you can extend it -- elsewhere in your config, without redefining it, due to `opts_extend`