On 2016-02-07, Nikolai Aleksandrovich Pavlov wrote:
> No commas are needed there nor should they be there. The two
> clauses separated by the but are not independent. See for example,
>
> http://www.grammarly.com/handbook/punctuation/comma/23/comma-before-but/
>
> They are independent: “Expected False” is a separate subsentense then “got
> v:true”, nothing will change even if you swap them: “Got v:true, but expected
> False”.
It's a little unclear to me which rule applies since neither clause
has a subject. If each had a subject, they would be independent and
would require a comma, e.g.,
I expected False, but I got v:true>
If there was only one subject at the beginning of the sentence, then
the clauses would not be independent and would not require a comma.
I expected False but got v:true.
I assumed the two clauses in question to be like the second case.
There is also a common convention that applies here, and that is
that the comma is often omitted when joining two short clauses.
Regards,
Gary
--
--
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.