neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit e35a7d47823b4b23e519ea5af1d5d37805a2c70e
parent 5e64d92411737a8fe0ea44faebf986944bfea8ea
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Tue, 27 May 2025 07:23:33 +0800

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

closes: vim/vim#17366

https://github.com/vim/vim/commit/a6172f8c5ce136d877965bf49881fc6e71ea4edf

Co-authored-by: Doug Kearns <dougkearns@gmail.com>

Diffstat:
Mruntime/doc/options.txt | 3++-
Mruntime/lua/vim/_meta/options.lua | 3++-
Msrc/nvim/options.lua | 3++-
3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt @@ -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 "") diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua @@ -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 = "" diff --git a/src/nvim/options.lua b/src/nvim/options.lua @@ -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,