Skip to content

Commit 336c986

Browse files
committed
bugfix for b:easycomplete_lsp_plugin name key not exists error
1 parent a1e3052 commit 336c986

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

autoload/easycomplete.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2269,6 +2269,9 @@ function! s:SortTextComparatorByLength(...)
22692269
endfunction
22702270

22712271
function! s:FinalNormalizeMenulist(arr, plugin_name)
2272+
if exists("b:easycomplete_lsp_plugin") && !has_key(b:easycomplete_lsp_plugin, "name")
2273+
return a:arr
2274+
endif
22722275
if exists("b:easycomplete_lsp_plugin") && a:plugin_name == b:easycomplete_lsp_plugin["name"]
22732276
return a:arr
22742277
endif

0 commit comments

Comments
 (0)