arnaud-lb / vim-php-namespace

PHP namespace support for VIM. Types "use" statements for you
256 stars 29 forks source link

Allow importing from root namespace #14

Closed mikedfunk closed 10 years ago

mikedfunk commented 10 years ago

If namespace is not found, the class is in the root namespace. Just import this class from that root namespace rather than throwing an error.

This is especially useful for importing Laravel facades.

I ran tests and they still pass.

arnaud-lb commented 10 years ago

Thanks!