Skip to content

Commit

Permalink
bugfix for getuserdata
Browse files Browse the repository at this point in the history
  • Loading branch information
jayli committed Jan 1, 2024
1 parent 3c183cb commit 6fe1854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/easycomplete/util.vim
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ endfunction " }}}

function! easycomplete#util#GetUserData(item) " {{{
let user_data_str = get(a:item, 'user_data', "")
if !empty(user_data_str)
if empty(user_data_str)
return {}
endif
try
Expand Down

0 comments on commit 6fe1854

Please sign in to comment.