tags:

views:

67

answers:

2

As soon as I load any file in vim, It'll try to detect the file and color-highlight it if possible.

I want to know a vim command that will tell me which ftplugin or Filetype plugin / filetype is vim considering to highlight the file.

+4  A: 

:set filetype?

hobbs
that was GREAT!!!
ruturaj
+1  A: 

You can also add the filetype to your status line or window title using the %y and %Y items. See

:help 'statusline'
:help 'titlestring'
Nefrubyr