Merge pull request #34193 from zeertzjq/vim-a6172f8

vim-patch: Correct allowed characters at :help 'filetype'
This commit is contained in:
zeertzjq
2025-05-27 07:46:13 +08:00
committed by GitHub
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.
This option is not copied to another buffer, independent of the 's' or
'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' string (default "")

View File

@ -2313,7 +2313,8 @@ vim.go.fic = vim.go.fileignorecase
--- one dot may appear.
--- This option is not copied to another buffer, independent of the 's' or
--- '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
vim.o.filetype = ""

View File

@ -3030,7 +3030,8 @@ local options = {
one dot may appear.
This option is not copied to another buffer, independent of the 's' or
'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',
noglob = true,