Untitled Post - 171 Posted on 2016-11-13 Edited on 2020-12-04 In GNU/Linux 输入:h feature-list查看vim支持的特性,然后可以在脚本中通过if has(“feature-name”)来检测该特性.