mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
vim-patch:596ad66d1ddb (#25102)
runtime(doc): documentation updates
This is a collection of various improvements to the help pages
closes vim/vim#12790
596ad66d1d
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>
This commit is contained in:
@@ -550,28 +550,21 @@ end
|
||||
-- @param o vim.option_meta
|
||||
-- @return string
|
||||
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 ''
|
||||
|
Reference in New Issue
Block a user