vim-patch:a6172f8: runtime(doc): Correct allowed characters at :help 'filetype'

closes: vim/vim#17366

a6172f8c5c

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
zeertzjq
2025-05-27 07:23:33 +08:00
parent 5e64d92411
commit e35a7d4782
3 changed files with 6 additions and 3 deletions

View File

@@ -2621,7 +2621,8 @@ A jump table for the options with a short description can be found at |Q_op|.
one dot may appear. one dot may appear.
This option is not copied to another buffer, independent of the 's' or This option is not copied to another buffer, independent of the 's' or
'S' flag in 'cpoptions'. 'S' flag in 'cpoptions'.
Only alphanumeric characters, '-' and '_' can be used. Only alphanumeric characters, '-' and '_' can be used (and a '.' is
allowed as delimiter when combining different filetypes).
*'fillchars'* *'fcs'* *'fillchars'* *'fcs'*
'fillchars' 'fcs' string (default "") 'fillchars' 'fcs' string (default "")

View File

@@ -2313,7 +2313,8 @@ vim.go.fic = vim.go.fileignorecase
--- one dot may appear. --- one dot may appear.
--- This option is not copied to another buffer, independent of the 's' or --- This option is not copied to another buffer, independent of the 's' or
--- 'S' flag in 'cpoptions'. --- 'S' flag in 'cpoptions'.
--- Only alphanumeric characters, '-' and '_' can be used. --- Only alphanumeric characters, '-' and '_' can be used (and a '.' is
--- allowed as delimiter when combining different filetypes).
--- ---
--- @type string --- @type string
vim.o.filetype = "" vim.o.filetype = ""

View File

@@ -3030,7 +3030,8 @@ local options = {
one dot may appear. one dot may appear.
This option is not copied to another buffer, independent of the 's' or This option is not copied to another buffer, independent of the 's' or
'S' flag in 'cpoptions'. 'S' flag in 'cpoptions'.
Only alphanumeric characters, '-' and '_' can be used. Only alphanumeric characters, '-' and '_' can be used (and a '.' is
allowed as delimiter when combining different filetypes).
]=], ]=],
full_name = 'filetype', full_name = 'filetype',
noglob = true, noglob = true,