Hi.

This patch appends conversion specifier '%b' (and '%B'), binary format.

https://gist.github.com/ichizok/7acfdf77c9343afbb3ed828e1777f6ae

examples:

:echo printf('%b', 10)
1010

:echo printf('%#b', 10)
0b1010

Vim added supports of binary numerals at v7.4.1027 substantially, so it can be 
useful.

Thank you.
- Ozaki Kiichi

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui