aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_eval_files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_eval_files.lua')
-rwxr-xr-xscripts/gen_eval_files.lua17
1 files changed, 5 insertions, 12 deletions
diff --git a/scripts/gen_eval_files.lua b/scripts/gen_eval_files.lua
index f8d69ce313..5d726315bd 100755
--- a/scripts/gen_eval_files.lua
+++ b/scripts/gen_eval_files.lua
@@ -552,26 +552,19 @@ end
local function scope_more_doc(o)
if
vim.list_contains({
- 'previewwindow',
- 'scroll',
- 'winfixheight',
- 'winfixwidth',
- }, o.full_name)
- then
- return ' |special-local-window-option|'
- end
-
- if
- vim.list_contains({
'bufhidden',
'buftype',
'filetype',
'modified',
+ 'previewwindow',
'readonly',
+ 'scroll',
'syntax',
+ 'winfixheight',
+ 'winfixwidth',
}, o.full_name)
then
- return ' |special-local-buffer-option|'
+ return ' |local-noglobal|'
end
return ''