diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-05-21 17:48:31 +0100 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-09-11 15:33:06 +0100 |
commit | cd18fe17a88d8144e5b841f1ca737fb4adf7885b (patch) | |
tree | b0848f30e791442b17eb0a92f4015dfd2660ca90 | |
parent | 5e22fdd9ccdd894d4c6e165438ca314ed2cd3b9e (diff) | |
download | rneovim-cd18fe17a88d8144e5b841f1ca737fb4adf7885b.tar.gz rneovim-cd18fe17a88d8144e5b841f1ca737fb4adf7885b.tar.bz2 rneovim-cd18fe17a88d8144e5b841f1ca737fb4adf7885b.zip |
vim-patch:8.1.1116: cannot enforce a Vim script style
Problem: Cannot enforce a Vim script style.
Solution: Add the :scriptversion command. (closes vim/vim#3857)
https://github.com/vim/vim/commit/558ca4ae55096f8763ab8515a304cda9c57f18a7
:scriptversion is N/A, but ":let ..=" is relevant.
N/A patches for version.c
vim-patch:8.1.1188: not all Vim variables require the v: prefix
Problem: Not all Vim variables require the v: prefix.
Solution: When scriptversion is 3 all Vim variables can only be used with
the v: prefix. (Ken Takata, closes vim/vim#4274)
https://github.com/vim/vim/commit/d2e716e6dfd50b605867c7c684373384c8edf707
vim-patch:8.1.1190: has('vimscript-3') does not work
Problem: has('vimscript-3') does not work.
Solution: Add "vimscript-3" to the list of features.
https://github.com/vim/vim/commit/93a4879c2008bbd26aac072e7cdc65b3ce7c32a3
vim-patch:8.1.2038: has('vimscript-4') is always 0
Problem: has('vimscript-4') is always 0.
Solution: Add "vimscript-4" to the feature table. (Naruhiko Nishino,
closes vim/vim#4941)
https://github.com/vim/vim/commit/af9143833865a2d8311e57313023271720442f90
-rw-r--r-- | runtime/doc/eval.txt | 5 | ||||
-rw-r--r-- | runtime/doc/vim_diff.txt | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index ba3bc0cdb6..211774ad2d 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -10405,14 +10405,15 @@ This does NOT work: > When the selected range of items is partly past the end of the list, items will be added. - *:let+=* *:let-=* *:letstar=* - *:let/=* *:let%=* *:let.=* *E734* + *:let+=* *:let-=* *:letstar=* + *:let/=* *:let%=* *:let.=* *:let..=* *E734* :let {var} += {expr1} Like ":let {var} = {var} + {expr1}". :let {var} -= {expr1} Like ":let {var} = {var} - {expr1}". :let {var} *= {expr1} Like ":let {var} = {var} * {expr1}". :let {var} /= {expr1} Like ":let {var} = {var} / {expr1}". :let {var} %= {expr1} Like ":let {var} = {var} % {expr1}". :let {var} .= {expr1} Like ":let {var} = {var} . {expr1}". +:let {var} ..= {expr1} Like ":let {var} = {var} .. {expr1}". These fail if {var} was not set yet and when the type of {var} and {expr1} don't fit the operator. diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index a5fcef2800..4dea053bc7 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -460,6 +460,7 @@ Commands: :Print :promptfind :promptrepl + :scriptversion (always version 1) :shell :sleep! (does not hide the cursor; same as :sleep) :smile |