Monday, August 15, 2011

Re: findfile() does not work with sshfs?

Thanks for you answer! It appears that I've made some kind of mistake with this simplified example, cause findfile('symfony','.') actually finds this file in main sshfs-project directory. Upward searching still doesn't work though. Let me illustrate this with commands:

:pwd
/srv/http/wnb_remote <-- sshfs project

:!ls sym*
symfony

:echo findfile('symfony', '.')
symfony

:echo findfile('symfony', '.*;')
/srv/http/iprzychodnia/symfony <-- PROBLEM

:cd /srv/http/iprzychodnia <-- regular project
:!ls sym*

:echo findfile('symfony', '.')
symfony

:echo findfile('symfony', '.*;')
symfony <-- works as expected

But considering what you've written before I am not sure this is sshfs related. No other ideas though.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: