Bram Moolenaar <[email protected]> wrote: > > > Patch 8.2.3315 > Problem: Cannot use single quote in a float number for readability. > Solution: Support single quotes like in numbers. (closes #8713) > Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c, > src/viminfo.c, src/testdir/test_float_func.vim
1) Looking at the following page which shows language supporting digit separators https://rosettacode.org/wiki/Numeric_separator_syntax the underscore separator appears to be more popular than the single quote separator. It may also make it simpler for syntax highlighting as single quotes are used for strings. Was underscore considered? Vim9 being experimental, there is still time to change if we want. Anyway, I'm fine either way. 2) In blobs, we already had a separator which was dot. as in 0z1234.567. The inconsistency is a bit annoying. 3) what digit separators for integers? Including hex, binary, octal integers? Regards Dominique -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAON-T_gEtX7Ji65raipgrM2TO-L6hbOHqq6Z742vdiBrOhLU-A%40mail.gmail.com.
