momodalo / vimtouch

vimtouch
Apache License 2.0
349 stars 71 forks source link

Compiling vim with +conceal #31

Open eropple opened 11 years ago

eropple commented 11 years ago

Hey there! I love Vim Touch but I'm having a small issue with it. I use Vimwiki, a personal wiki built on top of Vim, and it requires Vim to be compiled with conceal support. It looks like Vim Touch isn't built with +conceal (though I can't get a vim --version so I can't say for sure).

If this could be tweaked, that would be awesome.

Thanks!

eropple commented 11 years ago

Upon doing a little research, building vim with --with-features=big should do it. It might be worth building with --with-features=huge if it compiles successfully, though.

rtfb commented 11 years ago

I just ran an experiment to compare build sizes of big/huge vs current. The build doesn't seem to grow very much:

current:
-rw-rw-r--  3355817 VimTouch-debug.apk
-rwxr-xr-x  2211356 libvimtouch.so*

FEAT_BIG:
-rw-rw-r--  3392202 VimTouch-debug.apk
-rwxr-xr-x  2281052 libvimtouch.so*

FEAT_HUGE:
-rw-rw-r--  3396303 VimTouch-debug.apk
-rwxr-xr-x  2281072 libvimtouch.so*

So it would seem to be fine to switch to HUGE. However, for this experiment I directly hacked jni/feature.h, which might not produce the real results.