From d04d64e678419bdb1a191a4200a9f1ed5f0d6b4a Mon Sep 17 00:00:00 2001 From: MN-nagy Date: Thu, 10 Jul 2025 23:32:30 +0300 Subject: [PATCH] Fixed a bug in blink.cmp causing editor freezes on WSL2 systems --- init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.lua b/init.lua index b98ffc61..924cd4f4 100644 --- a/init.lua +++ b/init.lua @@ -857,6 +857,13 @@ require('lazy').setup({ default = { 'lsp', 'path', 'snippets', 'lazydev' }, providers = { lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 }, + -- On WSL2, blink.cmp may cause the editor to freeze due to a known limitation. + -- To address this issue, uncomment the following configuration: + -- cmdline = { + -- enabled = function() + -- return vim.fn.getcmdtype() ~= ':' or not vim.fn.getcmdline():match "^[%%0-9,'<>%-]*!" + -- end, + -- }, }, },