aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorii14 <59243201+ii14@users.noreply.github.com>2023-03-13 03:29:11 +0100
committerGitHub <noreply@github.com>2023-03-13 10:29:11 +0800
commit2daf0b37dbfe54a4510c1033531dbaefd168c387 (patch)
tree8f0c1f7ea449f6d38817398244852e458bcc79cd /src/nvim/options.lua
parent673d2b52fa4335aa083c52e6686f0728e25b8ebd (diff)
downloadrneovim-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 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index a4ee114f39..bb673a2c58 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -1685,9 +1685,8 @@ return {
},
{
full_name='pastetoggle', abbreviation='pt',
- short_desc=N_("key code that causes 'paste' to toggle"),
+ short_desc=N_("No description"),
type='string', scope={'global'},
- varname='p_pt',
defaults={if_true=""}
},
{