jayli / vim-easycomplete

杭州市余杭区最好用的 VIM/NVIM 代码补全插件
MIT License
408 stars 26 forks source link

no message hint when `deno cache` failed to fetch remote bundles #150

Closed jayli closed 2 years ago

jayli commented 2 years ago
jayli commented 2 years ago

https://github.com/jayli/vim-easycomplete/blob/9c3175ad59da2f89696c1fe54fe6bbd25bdbebc1/autoload/easycomplete/sources/deno.vim#L102-L105

jayli commented 2 years ago

related to #142

jayli commented 2 years ago

fix #120 :

-  let sign_placed_list = sign_getplaced(current_fn)
+  try
+    let sign_placed_list = sign_getplaced(current_fn)
+  catch /^Vim\%((\a\+)\)\=:E158/
+    let sign_placed_list = []
+  endtry