Ken Takata wrote:
> 2020/1/3 Fri 19:02:13 UTC+9 Bram Moolenaar wrote: > > > > > > Yasuhiro Matsumoto wrote: > > > > > Why you don't use { ? > > > > I know this will trigger a discussion. Nearly all languages use blocks > > ending with "}". It's much easier to see where a block ends that way > > than using "endif", "endwhile", etc., it stands out. > > > > Since we already have the start of the block without extra punctuation, > > there is no need to add a "{" there. It would be pointless to add it. > > > > Text objects like "a{" or "i{" don't work well without the starting "{". That never worked for "for" / "endfor", right? > Also "%" may not work well. With some adjustments to b:match_words it works. And when "%" works you can select a block from "if"/"while"/"for" until the matching "}" with "v%". -- TIM: That is not an ordinary rabbit ... 'tis the most foul cruel and bad-tempered thing you ever set eyes on. ROBIN: You tit. I soiled my armour I was so scared! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202001031317.003DHI64009156%40masaka.moolenaar.net.