Skip to main content
6 events
when toggle format what by license comment
Oct 9, 2015 at 14:15 comment added Peter Rincker Since the snippet uses g:php_builtin_functions it has no support for methods, just functions. Please feel free to improve upon it to work for methods calls
Oct 9, 2015 at 2:35 comment added the_velour_fog thats the weird thing, vim's builtin onmi-complete - for methods - does work, but when I invoke the method signature with your snippet it doesnt work. just to repeat: you snippet works fine on builtin functions - its just methods that dont seem to work
Oct 8, 2015 at 19:59 comment added Peter Rincker I should have been more clear it uses Vim builtin omni complete for functions via g:php_builtin_functions.
Oct 8, 2015 at 19:05 comment added the_velour_fog awesome, thanks for this! I can get it to work for straight functions, but not for methods, e.g. it doesnt work on $dbh->prepare($sql) whereas vims builtin omni complete does provide assistance for prepare() - when its called on an object (but wont if its not used in an object context)
Oct 8, 2015 at 18:57 vote accept the_velour_fog
Oct 8, 2015 at 14:22 history answered Peter Rincker CC BY-SA 3.0