From 6054da23af87117afd1de59bb77df90037e84675 Mon Sep 17 00:00:00 2001 From: Liam Dyer Date: Thu, 28 Nov 2024 12:07:08 -0500 Subject: [PATCH] feat: error on download failure --- lua/blink/cmp/init.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lua/blink/cmp/init.lua b/lua/blink/cmp/init.lua index f489a858..8b76d4da 100644 --- a/lua/blink/cmp/init.lua +++ b/lua/blink/cmp/init.lua @@ -6,10 +6,7 @@ function cmp.setup(opts) config.merge_with(opts) require('blink.cmp.fuzzy.download').ensure_downloaded(function(err) - if err then - vim.notify('Error while downloading blink.cmp pre-built binary: ' .. err, vim.log.levels.ERROR) - return - end + if err then error('Error while downloading blink.cmp pre-built binary: ' .. err) end -- setup highlights, keymap, completion and signature help require('blink.cmp.highlights').setup()