输入:h feature-list查看vim支持的特性,然后可以在脚本中通过if has(“feature-name”)来检测该特性.

Leave a Reply

Your email address will not be published. Required fields are marked *