Put the `||` directly in Vim script just not work for me. Adding if condition in the script fixed it.

Do you know why the `||` is not work on my machine?