Skip to content

Commit d04d64e

Browse files
committed
Fixed a bug in blink.cmp causing editor freezes on WSL2 systems
1 parent 3338d39 commit d04d64e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

init.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,13 @@ require('lazy').setup({
857857
default = { 'lsp', 'path', 'snippets', 'lazydev' },
858858
providers = {
859859
lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 },
860+
-- On WSL2, blink.cmp may cause the editor to freeze due to a known limitation.
861+
-- To address this issue, uncomment the following configuration:
862+
-- cmdline = {
863+
-- enabled = function()
864+
-- return vim.fn.getcmdtype() ~= ':' or not vim.fn.getcmdline():match "^[%%0-9,'<>%-]*!"
865+
-- end,
866+
-- },
860867
},
861868
},
862869

0 commit comments

Comments
 (0)