Reputation: 6322
Does Vimscript allow for this notation style when creating a list?
let mylist = [
"a",
"b",
"c"
]
Or is it confined to one-liners (let mylist = [ "a", "b", "c" ]
)?
I'm writing a list that I can easily foresee adding elements to later.
Upvotes: 53
Views: 8627