shawncplus / phpcomplete.vim

Improved PHP omnicompletion
http://www.vim.org/scripts/script.php?script_id=3171
595 stars 110 forks source link

Fixed ignorecase flag in namespace parsing #56

Closed mkusher closed 9 years ago

mkusher commented 9 years ago

Hi!

There was an error with uses written such way: use Some\Path\To\Class AS SomeLocalName; because "as" can be in any case and split by default is case-sensitive. From vimdoc about split(): 'ignorecase' is not used here, add \c to ignore case. |/\c|

complex857 commented 9 years ago

Thanks for the patch!

I'm afraid there's a few more like this scattered around, removing ignorecase from the test's vimrc should not generate failed tests...