1
- *repeat.txt* For Vim version 8.0 . Last change: 2017 Jun 10
1
+ *repeat.txt* For Vim version 8.1 . Last change: 2018 Mar 04
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -242,6 +242,10 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
242
242
If the directory pack/*/opt/{name} /after exists it is
243
243
added at the end of 'runtimepath' .
244
244
245
+ If loading packages from "pack/*/start" was skipped,
246
+ then this directory is searched first:
247
+ pack/*/start/{name} ~
248
+
245
249
Note that {name} is the directory name, not the name
246
250
of the .vim file. All the files matching the pattern
247
251
pack/*/opt/{name}/plugin/**/*.vim ~
@@ -261,6 +265,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
261
265
loaded during initialization, see | load-plugins | .
262
266
263
267
Also see | pack-add | .
268
+ {only available when compiled with +eval}
264
269
265
270
*:packl* *:packloadall*
266
271
:packl[oadall][!] Load all packages in the "start" directory under each
@@ -284,6 +289,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
284
289
An error only causes sourcing the script where it
285
290
happens to be aborted, further plugins will be loaded.
286
291
See | packages | .
292
+ {only available when compiled with +eval}
287
293
288
294
:scripte[ncoding] [encoding] *:scripte* *:scriptencoding* *E167*
289
295
Specify the character encoding used in the script.
@@ -802,6 +808,19 @@ DEFINING BREAKPOINTS
802
808
< Note that this only works for commands that are executed when
803
809
sourcing the file, not for a function defined in that file.
804
810
811
+ :breaka[dd] expr {expression}
812
+ Sets a breakpoint, that will break whenever the {expression}
813
+ evaluates to a different value. Example: >
814
+ :breakadd expr g:lnum
815
+
816
+ < Will break, whenever the global variable lnum changes.
817
+ Note if you watch a | script-variable | this will break
818
+ when switching scripts, since the script variable is only
819
+ valid in the script where it has been defined and if that
820
+ script is called from several other scripts, this will stop
821
+ whenever that particular variable will become visible or
822
+ unaccessible again.
823
+
805
824
The [lnum] is the line number of the breakpoint. Vim will stop at or after
806
825
this line. When omitted line 1 is used.
807
826
0 commit comments