3 ms·
Sadly, it is still not working too well with Objective-C, which is currently my main language (1). Luckily, unofficial VIM plugins for XCode like XVim (2) or VI
by terhechte 13y ago
Sadly, it is still not working too well with Objective-C, which is currently my main language (1).
Luckily, unofficial VIM plugins for XCode like XVim (2) or VIEmu (3) are getting better and better, so at least I can use vim bindings for objective-c now, too. Nevertheless, good clang support in Vim would still be great, so that I could tap into the huge amount of vim plugins during objc development.
[1] https://github.com/Valloric/YouCompleteMe/issues/84 https://github.com/Valloric/YouCompleteMe/issues/84
[2] https://github.com/JugglerShu/XVim https://github.com/JugglerShu/XVim
[3] http://www.viemu.com/ http://www.viemu.com/
- rjzzleep 13y agoyou might want to consider clang_complete with ultisnips. it generates tab triggers for objective-c methods. i tried to add that functionality to youcompleteme, but the main problem with it is that youcompleteme tries to be very generic in completions, therefore there is no real way of knowing what kind of methods you get back from your completion backend. you could hack it to do some regex parsing on method names, but i'd really suggest that if objective-c is your main target go for clangcomplete+ultisnips. https://github.com/Rip-Rip/clang_complete https://github.com/Rip-Rip/clang_complete https://github.com/SirVer/ultisnips https://github.com/SirVer/ultisnips
- skue 13y agoThanks, that's good to know. I have been using XVim for a while now. It can be quirky, but it's amazing what JugglerShu has been able to pull off. Have you used both Xvim and ViEmu? How does ViEmu compare?
- syncontrol 13y agoBetter Objective-C triggering support (the issue you linked to) is coming soon.