File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ return {
2828 if type (find_files ) == " table" then
2929 local orig_find_files = find_files [1 ]
3030 find_files [1 ] = function ()
31- if require (" remote-sshfs.connections" ).is_connected then
31+ if require (" remote-sshfs.connections" ).is_connected () then
3232 require (" remote-sshfs.api" ).find_files ()
3333 elseif type (orig_find_files ) == " function" then
3434 orig_find_files ()
@@ -41,7 +41,7 @@ return {
4141 if type (live_grep ) == " table" then
4242 local orig_live_grep = live_grep [1 ]
4343 live_grep [1 ] = function ()
44- if require (" remote-sshfs.connections" ).is_connected then
44+ if require (" remote-sshfs.connections" ).is_connected () then
4545 require (" remote-sshfs.api" ).live_grep ()
4646 elseif type (orig_live_grep ) == " function" then
4747 orig_live_grep ()
You can’t perform that action at this time.
0 commit comments