一般而言,最好前缀式和后缀式都定义。
Ordinarily it is best to define both the prefix and postfix versions.
Vimscript函数没有使用前导大写字母,相反,可以使用显式的范围前缀声明函数(类似变量,如第1部分所述)。
Instead of using a leading capital letter, Vimscript functions can also be declared with an explicit scope prefix (like variables can be, as described in Part 1).
因此,名称空间前缀是透明的,不应该在应用程序中显式地操纵前缀。
Therefore, namespace prefixes are transparent, and you should never manipulate them explicitly in your application.
应用推荐