summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2017-05-14 19:40:29 +0200
committerLucas Hoffmann <l-m-h@web.de>2017-05-14 19:40:29 +0200
commit3318881cb99bc601d3d15cf2986ea6ae85bc4e94 (patch)
treee37590d83d2b1bbce395c80cc12e0a62382e0366 /doc
parent9d5569fb39517a976834198a637cea39db7e2fdf (diff)
downloadvdebug-3318881cb99bc601d3d15cf2986ea6ae85bc4e94.zip
Clarify docs for g:vdebug_options
Diffstat (limited to 'doc')
-rw-r--r--doc/Vdebug.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/Vdebug.txt b/doc/Vdebug.txt
index c6a17c7..1d443ac 100644
--- a/doc/Vdebug.txt
+++ b/doc/Vdebug.txt
@@ -852,9 +852,13 @@ The default options look like this: >
\ "marker_open_tree" : '▾'
\}
<
-You can either use the multi-line notation like above, or set individual keys:
+You can either use the multi-line notation like above, or set individual keys
+(make sure that the directory is defined before setting fields in it):
>
- g:vdebug_options_port = 9001
+ if !exists('g:vdebug_options')
+ let g:vdebug_options = {}
+ endif
+ let g:vdebug_options.port = 9001
<
You only need to set the options you want to change: the defaults will be used
if you don't set them.