I would like to, in vimscript, determine whether vim was compiled as 'tiny'.
Specifically, I would like to determine the message history size (20 or 200, according as vim is tiny or larger) in vimscript.
Is there any way I can do this? Is there some feature I can check using has() to see how large the message history is? I browsed through the feature-list help docs and did not see one.
I know that I can check has('+visual') or has('+windows') or some other feature that is in small but not tiny, but this is not quite accurate: It's possible to compile --with-features=tiny --enable-visual --enable-windows.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment