Compatible with XVim
Great plugin!
Any chance you could make this work with the xvim plugin? https://github.com/JugglerShu/XVim
Thanks!
:+1: please do!
I'm a huge Xvim fan and user, so I took a quick look at the source to see where the problem might be. By commenting out line 89 (the "else" part of the if-check) the backlight was not removed when returning to normal mode in Xvim.
To do this yourself, simply:
- Open Backlight.xcodeproj
- Navigate to AAABacklight.m
- Go to line 89 and comment it out
- Build the project
- Quit and open Xcode again
Not sure if this has any side effects or not, but I'm happily using it this way in Xcode 5.1.1 now.
@codeluggage cool ill try it out thx
Thanks, fixed the problem for me, but now in xcode 6 it doesnt work again... any ideas?
- Open Backlight.xcodeproj
- Navigate to AAABacklight.m 3)Find the function: - (void)textViewDidChanged:(NSNotification *)notification; 3)Comment the else case PS:It works for me (Xcode 6GM ,OS X 10.10 Beta 4)
How does textViewDidChange break Xvim compatibility ? I'm just wondering so that I can apply a fix :)