Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Dec 9, 2023
1 parent ea5c6f9 commit b12dc7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/ddc/custom.vim
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function ddc#custom#set_context_buffer(func) abort
endfunction

function ddc#custom#load_config(path) abort
if !(a:path->filereadable())
if !a:path->filereadable()
call ddc#util#print_error(printf('"%s" is not found.', a:path))
return
endif
Expand Down Expand Up @@ -85,7 +85,7 @@ endfunction

function s:notify(method, args) abort
" Save notify args
if !('g:ddc#_customs'->exists())
if !'g:ddc#_customs'->exists()
let g:ddc#_customs = []
endif

Expand Down

0 comments on commit b12dc7c

Please sign in to comment.