mirror of
https://github.com/vim/vim.git
synced 2025-10-29 09:37:35 -04:00
runtime(doc): 'filetype', 'syntax' and 'keymap' only allow alphanumeric + some characters
closes: #15783 Signed-off-by: Milly <milly.ca@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
f416a2220f
commit
ae62fe5c28
@@ -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
|
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 : */ ~
|
/* vim: set filetype=idl : */ ~
|
||||||
|FileType| |filetypes|
|
|FileType| |filetypes|
|
||||||
When a dot appears in the value then this separates two filetype
|
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 : */ ~
|
/* vim: set filetype=c.doxygen : */ ~
|
||||||
This will use the "c" filetype first, then the "doxygen" filetype.
|
This will use the "c" filetype first, then the "doxygen" filetype.
|
||||||
This works both for filetype plugins and for syntax files. More than
|
This works both for filetype plugins and for syntax files. More than
|
||||||
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 normal file name characters can be used, "/\*?[|<>" are illegal.
|
Only alphanumeric characters, '-' and '_' can be used.
|
||||||
|
|
||||||
*'fillchars'* *'fcs'*
|
*'fillchars'* *'fcs'*
|
||||||
'fillchars' 'fcs' string (default "vert:|,fold:-,eob:~")
|
'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 this option to a valid keymap name has the side effect of
|
||||||
setting 'iminsert' to one, so that the keymap becomes effective.
|
setting 'iminsert' to one, so that the keymap becomes effective.
|
||||||
'imsearch' is also set to one, unless it was -1
|
'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'*
|
||||||
'keymodel' 'km' string (default "")
|
'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.
|
Syntax autocommand event is triggered with the value as argument.
|
||||||
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 normal file name characters can be used, "/\*?[|<>" are illegal.
|
Only alphanumeric characters, '.', '-' and '_' can be used.
|
||||||
|
|
||||||
*'tabclose'* *'tcl'*
|
*'tabclose'* *'tcl'*
|
||||||
'tabclose' 'tcl' string (default "")
|
'tabclose' 'tcl' string (default "")
|
||||||
|
|||||||
Reference in New Issue
Block a user