Merge pull request #18 from MN-nagy/fix/blink-cmp-wsl2-freeze

Fixed a bug in blink.cmp causing editor freezes on WSL2 systems
pull/1627/head
Ori Perry 4 days ago committed by GitHub
commit 42b33d9437
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -881,6 +881,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,
-- },
},
},

Loading…
Cancel
Save