Skip to content

Can't set g:vdebug_options from .vimrc #200

@bitwombat

Description

@bitwombat

Non-vim programmers might put this in their vimrc:

let g:vdebug_options['port']=10000

But they'd get this from vim:

Error detected while processing /home/gbell2/.vimrc:
line  255:
E121: Undefined variable: g:vdebug_options

Solution is to create the dict before it's used:
let g:vdebug_options={} let g:vdebug_options['port']=10000

It would be good to have a note about that in section 5.2 of the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions