diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-07-17 14:27:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-17 14:27:21 +0100 |
commit | 881d17a11393da75a27c072faa3fd45f510175fe (patch) | |
tree | b1bc798c4a36de45f3ee0058ffdd86782638214d /runtime/doc | |
parent | 98b22867c33a45aaaf057afbeda8acb0216494e3 (diff) | |
download | rneovim-881d17a11393da75a27c072faa3fd45f510175fe.tar.gz rneovim-881d17a11393da75a27c072faa3fd45f510175fe.tar.bz2 rneovim-881d17a11393da75a27c072faa3fd45f510175fe.zip |
feat(options)!: remove compatible behaviours for vim 5.0 and earlier
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/news.txt | 10 | ||||
-rw-r--r-- | runtime/doc/options.txt | 18 | ||||
-rw-r--r-- | runtime/doc/vim_diff.txt | 8 |
3 files changed, 20 insertions, 16 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 7375cd6a82..67726ebd9c 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -51,6 +51,16 @@ The following changes may require adaptations in user config or plugins. • `vim.json.null` is redundant with `vim.NIL`. • `vim.json.array_mt` (and related) is redundant with `vim.empty_dict()`. +• Removed some Vim 5.0<= option compatibilities: + • |'backspace'| no longer supports number values. Instead: + • for `backspace=0` set `backspace=` (empty) + • for `backspace=1` set `backspace=indent,eol` + • for `backspace=2` set `backspace=indent,eol,start` (default behavior in Nvim) + • for `backspace=3` set `backspace=indent,eol,nostop` + • paths in |'backupdir'|, |'path'| and |'cdpath'| can no longer be separated with + spaces (but paths themselves may contain spaces now). + • |'directory'| will no longer remove a `>` at the start of the option. + ============================================================================== NEW FEATURES *news-features* diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index da634966f9..4b9797408c 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -762,13 +762,6 @@ A jump table for the options with a short description can be found at |Q_op|. When the value is empty, Vi compatible backspacing is used, none of the ways mentioned for the items above are possible. - For backwards compatibility with version 5.4 and earlier: - value effect ~ - 0 same as ":set backspace=" (Vi compatible) - 1 same as ":set backspace=indent,eol" - 2 same as ":set backspace=indent,eol,start" - 3 same as ":set backspace=indent,eol,nostop" - *'backup'* *'bk'* *'nobackup'* *'nobk'* 'backup' 'bk' boolean (default off) global @@ -880,8 +873,7 @@ A jump table for the options with a short description can be found at |Q_op|. - Careful with '\' characters, type one before a space, type two to get one in the option (see |option-backslash|), for example: > :set bdir=c:\\tmp,\ dir\\,with\\,commas,\\\ dir\ with\ spaces -< - For backwards compatibility with Vim version 3.0 a '>' at the start - of the option is removed. +< See also 'backup' and 'writebackup' options. If you want to hide your backup files on Unix, consider this value: > :set backupdir=./.backup,~/.backup,.,/tmp @@ -2083,9 +2075,7 @@ A jump table for the options with a short description can be found at |Q_op|. - Careful with '\' characters, type one before a space, type two to get one in the option (see |option-backslash|), for example: > :set dir=c:\\tmp,\ dir\\,with\\,commas,\\\ dir\ with\ spaces -< - For backwards compatibility with Vim version 3.0 a '>' at the start - of the option is removed. - +< Editing the same file twice will result in a warning. Using "/tmp" on is discouraged: if the system crashes you lose the swap file. And others on the computer may be able to see the files. @@ -4490,10 +4480,6 @@ A jump table for the options with a short description can be found at |Q_op|. option may be relative or absolute. - Use commas to separate directory names: > :set path=.,/usr/local/include,/usr/include -< - Spaces can also be used to separate directory names (for backwards - compatibility with version 3.0). To have a space in a directory - name, precede it with an extra backslash, and escape the space: > - :set path=.,/dir/with\\\ space < - To include a comma in a directory name precede it with an extra backslash: > :set path=.,/dir/with\\,comma diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 5246d3c2b8..5a05c04bb8 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -623,10 +623,17 @@ Highlight groups: Options: *'aleph'* *'al'* antialias + 'backspace' no longer supports number values. Instead: + - for `backspace=0` set `backspace=` (empty) + - for `backspace=1` set `backspace=indent,eol` + - for `backspace=2` set `backspace=indent,eol,start` (default behavior in Nvim) + - for `backspace=3` set `backspace=indent,eol,nostop` *'balloondelay'* *'bdlay'* *'ballooneval'* *'beval'* *'noballooneval'* *'nobeval'* *'balloonexpr'* *'bexpr'* + 'backupdir': paths can no longer be separated with spaces. bioskey (MS-DOS) + 'cdpath': paths can no longer be separated with spaces. conskey (MS-DOS) *'cp'* *'nocompatible'* *'nocp'* *'compatible'* (Nvim is always "nocompatible".) 'cpoptions' (gjkHw<*- and all POSIX flags were removed) @@ -691,6 +698,7 @@ Options: Use |g8| or |ga|. See |mbyte-combining|. *'maxmem'* Nvim delegates memory-management to the OS. *'maxmemtot'* Nvim delegates memory-management to the OS. + |'path'|: paths can no longer be separated with spaces. printoptions *'printdevice'* *'printencoding'* |