aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_eval_files.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-09-12 07:37:05 +0800
committerGitHub <noreply@github.com>2023-09-12 07:37:05 +0800
commit4b6023be7c2b132e7e6994adc73a7b79fbf40946 (patch)
tree1935c5f3f95de82fa843b578a962d50af02aac28 /scripts/gen_eval_files.lua
parent65738202f8be3ca63b75197d48f2c7a9324c035b (diff)
downloadrneovim-4b6023be7c2b132e7e6994adc73a7b79fbf40946.tar.gz
rneovim-4b6023be7c2b132e7e6994adc73a7b79fbf40946.tar.bz2
rneovim-4b6023be7c2b132e7e6994adc73a7b79fbf40946.zip
vim-patch:596ad66d1ddb (#25102)
runtime(doc): documentation updates This is a collection of various improvements to the help pages closes vim/vim#12790 https://github.com/vim/vim/commit/596ad66d1ddb742ef349e98eb06b8e4052f68f51 Co-authored-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Houl <anwoku@yahoo.de> Co-authored-by: Doug Kearns <dougkearns@gmail.com> Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl>
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 ''