runtime(doc): 'filetype', 'syntax' and 'keymap' only allow alphanumeric + some 
characters

Commit: 
https://github.com/vim/vim/commit/ae62fe5c289e148b92b1d0bb912dcce7ebe14602
Author: Milly <milly...@gmail.com>
Date:   Wed Oct 2 19:30:41 2024 +0200

    runtime(doc): 'filetype', 'syntax' and 'keymap' only allow alphanumeric + 
some characters
    
    closes: https://github.com/vim/vim/issues/15783
    
    Signed-off-by: Milly <milly...@gmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 39806015e..10a06804d 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 9.1.  Last change: 2024 Oct 01
+*options.txt*  For Vim version 9.1.  Last change: 2024 Oct 02
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -3503,14 +3503,14 @@ A jump table for the options with a short description 
can be found at |Q_op|.
                /* vim: set filetype=idl : */ ~
        |FileType| |filetypes|
        When a dot appears in the value then this separates two filetype
-       names.  Example:
+       names, it should therefore not be used for a filetype.  Example:
                /* vim: set filetype=c.doxygen : */ ~
        This will use the "c" filetype first, then the "doxygen" filetype.
        This works both for filetype plugins and for syntax files.  More than
        one dot may appear.
        This option is not copied to another buffer, independent of the 's' or
        'S' flag in 'cpoptions'.
-       Only normal file name characters can be used, "/\*?[|<>" are illegal.
+       Only alphanumeric characters, '-' and '_' can be used.
 
                                                *'fillchars'* *'fcs'*
 'fillchars' 'fcs'      string  (default "vert:|,fold:-,eob:~")
@@ -4992,7 +4992,7 @@ A jump table for the options with a short description can 
be found at |Q_op|.
        Setting this option to a valid keymap name has the side effect of
        setting 'iminsert' to one, so that the keymap becomes effective.
        'imsearch' is also set to one, unless it was -1
-       Only normal file name characters can be used, "/\*?[|<>" are illegal.
+       Only alphanumeric characters, '.', '-' and '_' can be used.
 
                                        *'keymodel'* *'km'*
 'keymodel' 'km'                string  (default "")
@@ -8112,7 +8112,7 @@ A jump table for the options with a short description can 
be found at |Q_op|.
        Syntax autocommand event is triggered with the value as argument.
        This option is not copied to another buffer, independent of the 's' or
        'S' flag in 'cpoptions'.
-       Only normal file name characters can be used, "/\*?[|<>" are illegal.
+       Only alphanumeric characters, '.', '-' and '_' can be used.
 
                                                *'tabclose'* *'tcl'*
 'tabclose' 'tcl'       string  (default "")

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1sw3PL-007398-AA%40256bit.org.

Raspunde prin e-mail lui