Skip to content

Commit 0a07f54

Browse files
committed
modify neovim with sync method
1 parent 745321f commit 0a07f54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoload/codequery.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function! codequery#make_codequery_db(args) abort
137137
continue
138138
endif
139139

140-
if v:version >= 800
140+
if v:version >= 800 && !has('nvim')
141141
echom 'Making DB ...'
142142
let mydict = {'db_path': db_path,
143143
\'callback': function("codequery#db#make_db_callback")}

autoload/codequery/query.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ function! codequery#query#do_query(word) abort
197197
return
198198
endif
199199

200-
if v:version >= 800
200+
if v:version >= 800 && !has('nvim')
201201
echom 'Searching ... [' . a:word . ']'
202202

203203
let job_dict = {'is_append': g:codequery_append_to_qf ? 1 : 0,

0 commit comments

Comments
 (0)