diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-28 06:02:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 06:02:49 +0800 |
commit | 7168000b53eb2da9a910ba038c3aa93822d3f196 (patch) | |
tree | 8bc9ea126fcb3f18746b2cefac8eaf3a91a7ec3f /src/nvim/options.lua | |
parent | 997bef54aa67cdaaed3cffbdbdaf5933e9718319 (diff) | |
download | rneovim-7168000b53eb2da9a910ba038c3aa93822d3f196.tar.gz rneovim-7168000b53eb2da9a910ba038c3aa93822d3f196.tar.bz2 rneovim-7168000b53eb2da9a910ba038c3aa93822d3f196.zip |
refactor(options): require `enable_if = false` iff no variable (#28050)
This makes grepping for unsupported options easier.
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 0cbdf45f4e..6bfeee75e6 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -91,6 +91,7 @@ return { { abbreviation = 'al', defaults = { if_true = 224 }, + enable_if = false, full_name = 'aleph', scope = { 'global' }, short_desc = N_('ASCII code of the letter Aleph (Hebrew)'), @@ -5459,7 +5460,6 @@ return { When on, the mouse pointer is hidden when characters are typed. The mouse pointer is restored when the mouse is moved. ]=], - enable_if = false, full_name = 'mousehide', redraw = { 'ui_option' }, scope = { 'global' }, @@ -5875,6 +5875,7 @@ return { { abbreviation = 'pt', defaults = { if_true = '' }, + enable_if = false, full_name = 'pastetoggle', scope = { 'global' }, short_desc = N_('No description'), @@ -8767,6 +8768,7 @@ return { { abbreviation = 'tenc', defaults = { if_true = '' }, + enable_if = false, full_name = 'termencoding', scope = { 'global' }, short_desc = N_('Terminal encoding'), |