diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-07-23 03:18:10 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-07-23 03:18:10 +0200 |
commit | 2000b6a64a9c1fe47d07d8441620abceaf545094 (patch) | |
tree | f622935d39e546f7ac4a66148b3ae5b9af622e53 /runtime/doc | |
parent | cdbfdcfcc484340f89a0bf3bd2e97dcf95f15625 (diff) | |
parent | 03bd5a4b91f4b555be9fc44b7fab6a64923667c8 (diff) | |
download | rneovim-2000b6a64a9c1fe47d07d8441620abceaf545094.tar.gz rneovim-2000b6a64a9c1fe47d07d8441620abceaf545094.tar.bz2 rneovim-2000b6a64a9c1fe47d07d8441620abceaf545094.zip |
Merge #8589 'VimL: Remove legacy v:xx aliases'
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 7 | ||||
-rw-r--r-- | runtime/doc/starting.txt | 2 | ||||
-rw-r--r-- | runtime/doc/vim_diff.txt | 3 |
3 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index c460e65c64..dce531b663 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1508,8 +1508,7 @@ v:errmsg Last given error message. It's allowed to set this variable. :silent! next :if v:errmsg != "" : ... handle error -< "errmsg" also works, for backwards compatibility. - +< *v:errors* *errors-variable* v:errors Errors found by assert functions, such as |assert_true()|. This is a list of strings. @@ -1813,8 +1812,7 @@ v:shell_error Result of the last shell command. When non-zero, the last :if v:shell_error : echo 'could not rename "foo" to "bar"!' :endif -< "shell_error" also works, for backwards compatibility. - +< *v:statusmsg* *statusmsg-variable* v:statusmsg Last given status message. It's allowed to set this variable. @@ -1888,7 +1886,6 @@ v:testing Must be set before using `test_garbagecollect_now()`. v:this_session Full filename of the last loaded or saved session file. See |:mksession|. It is allowed to set this variable. When no session file has been saved, this variable is empty. - "this_session" also works, for backwards compatibility. *v:throwpoint* *throwpoint-variable* v:throwpoint The point where the exception most recently caught and not diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index ad1077bcab..24fb87a6b4 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -837,7 +837,7 @@ resulting file, when executed with a ":source" command: such as creating menu items in the GUI version. After restoring the Session, the full filename of your current Session is -available in the internal variable "v:this_session" |this_session-variable|. +available in the internal variable |v:this_session|. An example mapping: > :nmap <F2> :wa<Bar>exe "mksession! " . v:this_session<CR>:so ~/sessions/ This saves the current Session, and starts off the command to load another. diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 8bda114639..ef0b54fa33 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -352,6 +352,9 @@ TUI: VimL (Vim script) compatibility: `count` does not alias to |v:count| + `errmsg` does not alias to |v:errmsg| + `shell_error` does not alias to |v:shell_error| + `this_session` does not alias to |v:this_session| ============================================================================== 5. Missing legacy features *nvim-features-missing* |