Sorry for confusion but /srv/http/iprzychodnia/symfony exists in my filesystem, I just didn't know how to redirect both commands and output into single place and made a mistake while joining it manually.
Anyway, I've blindly tested some changes and it appears that removing '*' fixes my problem (changing it to ** also helps).
I have now:
let l:maindir = findfile("symfony", ".;")
and it works in all projects. I am totally confused with that cause I thought that I took '.*;' directly from manual but there's '.;' now. ;-)
I think it works this way: '.' indicate starting path, ';' turns on upward searching and since there's no stop-directories provided after it will search up to '/'.
Still don't why your findfile('shadow','.*;') worked and my findfile("symfony", ".*;") didn't.
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:
Post a Comment