added 179 characters in body
Source Link
jamessan
  • 10.2k
  • 2
  • 32
  • 51

Dictionaries aren't ordered, so there's no need for add() or insert().

Values are added to a dictionary using either

let d.foo = 'bar'

or

let d['foo'] = 'bar'

syntax.

I would also suggest reviewing :help 41.8 and :help Dictionary.

Dictionaries aren't ordered, so there's no need for add() or insert().

Values are added to a dictionary using either

let d.foo = 'bar'

or

let d['foo'] = 'bar'

syntax.

Dictionaries aren't ordered, so there's no need for add() or insert().

Values are added to a dictionary using either

let d.foo = 'bar'

or

let d['foo'] = 'bar'

syntax.

I would also suggest reviewing :help 41.8 and :help Dictionary.

Source Link
jamessan
  • 10.2k
  • 2
  • 32
  • 51

Dictionaries aren't ordered, so there's no need for add() or insert().

Values are added to a dictionary using either

let d.foo = 'bar'

or

let d['foo'] = 'bar'

syntax.