PHP has some pretty inconsistent parameters for functions (e.g. sometimes first haystack
, then needle
, and sometimes the other way around). I'd like vim to somehow hint at what parameters are expected. I mostly care for integrated PHP functions, not for project-specific functions. Is this possible to set up / configure?
My idea is that I type:
strpos(
and vim tells notifies me it expects $haystack, $needle
.