查找 vim 中加载的文件类型 [英] Find what filetype is loaded in vim
本文介绍了查找 vim 中加载的文件类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
只要我在 vim 中加载任何文件,它就会尝试检测该文件并尽可能用颜色突出显示它.
As soon as I load any file in vim, It'll try to detect the file and color-highlight it if possible.
我想知道一个 vim 命令,它会告诉我哪个 ftplugin 或 Filetype 插件/文件类型是 vim 考虑突出显示文件.
I want to know a vim command that will tell me which ftplugin or Filetype plugin / filetype is vim considering to highlight the file.
推荐答案
:set filetype?
这篇关于查找 vim 中加载的文件类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文