Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I guess built-in omnicomplete is a start, but perhaps we're talking some neocomplcache plugin module or something themsuch? Googling "vim wordpress autocomplete" doesn't really give much.

share|improve this question

1 Answer 1

You could use the tbex.xml file from the IIS branch, and convert the CodeCompletion node to a Vim dictionary. This dictionary could be used for auto-completion.

I haven’t tested it, but if you succeed make it public, that would be awesome. :)

share|improve this answer
4  
I managed to get this working with WordPress.vim, by populating phpcomplete's completion dictionary from PHPUnit. –  Darshan Sawardekar Apr 14 at 6:28
1  
@DarshanSawardekar Looks fantastic! –  toscho Apr 14 at 6:31
1  
Thanks! I'm open to ideas to improve. :) –  Darshan Sawardekar Apr 14 at 6:42
1  
@DarshanSawardekar I think you should write a new answer to this question pointing to wordpress.vim - it certainly qualifies as a solution! –  tnorthcutt Apr 16 at 14:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.