diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2023-03-13 03:29:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 10:29:11 +0800 |
commit | 2daf0b37dbfe54a4510c1033531dbaefd168c387 (patch) | |
tree | 8f0c1f7ea449f6d38817398244852e458bcc79cd /runtime/doc/deprecated.txt | |
parent | 673d2b52fa4335aa083c52e6686f0728e25b8ebd (diff) | |
download | rneovim-2daf0b37dbfe54a4510c1033531dbaefd168c387.tar.gz rneovim-2daf0b37dbfe54a4510c1033531dbaefd168c387.tar.bz2 rneovim-2daf0b37dbfe54a4510c1033531dbaefd168c387.zip |
feat(options)!: deprecate paste, remove pastetoggle (#22647)
we cannot remove 'paste'. It is very common in plugins and configs.
'pastetoggle' can and should be removed though, it's a total waste of everyone's time because it generates bug reports and doesn't work well, and is useless because bracketed-paste works better.
Diffstat (limited to 'runtime/doc/deprecated.txt')
-rw-r--r-- | runtime/doc/deprecated.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/runtime/doc/deprecated.txt b/runtime/doc/deprecated.txt index 5c8d7f044f..fe1d6f1645 100644 --- a/runtime/doc/deprecated.txt +++ b/runtime/doc/deprecated.txt @@ -146,6 +146,27 @@ OPTIONS - 'viewoptions' Flags "unix", "slash" are ignored and always enabled. - *'viminfo'* Deprecated alias to 'shada' option. - *'viminfofile'* Deprecated alias to 'shadafile' option. +- *'paste'* *'nopaste'* This option is obsolete; |paste| is handled automatically. + Enables "paste mode": + - mappings in Insert mode and Command-line mode are + disabled + - abbreviations are disabled + - 'autoindent' is reset + - 'expandtab' is reset + - 'formatoptions' is used like it is empty + - 'revins' is reset + - 'ruler' is reset + - 'showmatch' is reset + - 'smartindent' is reset + - 'smarttab' is reset + - 'softtabstop' is set to 0 + - 'textwidth' is set to 0 + - 'wrapmargin' is set to 0 + These options keep their value, but their effect is + disabled: + - 'cindent' + - 'indentexpr' + - 'lisp' UI EXTENSIONS - *ui-wildmenu* Use |ui-cmdline| with |ui-popupmenu| instead. Enabled |