Skip to content

Commit 6054da2

Browse files
committed
feat: error on download failure
1 parent 59add2d commit 6054da2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lua/blink/cmp/init.lua

+1-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ function cmp.setup(opts)
66
config.merge_with(opts)
77

88
require('blink.cmp.fuzzy.download').ensure_downloaded(function(err)
9-
if err then
10-
vim.notify('Error while downloading blink.cmp pre-built binary: ' .. err, vim.log.levels.ERROR)
11-
return
12-
end
9+
if err then error('Error while downloading blink.cmp pre-built binary: ' .. err) end
1310

1411
-- setup highlights, keymap, completion and signature help
1512
require('blink.cmp.highlights').setup()

0 commit comments

Comments
 (0)