~/.vimrc if I write
set tabstop = 2, it will be a syntax error:
set tabstop = 2 " E521: Number required after =: tabstop = set tabstop=2 " no errors
But I can write
let @/ = ""
let @/ = "" " no errors let @/="" " no errors
Why are they different?
Note: Reading the help menu for both
:h let and
:h set you can find examples using the proper syntax; however, I'm still curious why they are different.