Am 24.06.2009 10:47, TheLonelyStar schrieb:
> 
> Hi,
> 
> Can I somehow get the filetype of the current file from within a vim script?
> [...]

Yes, you can use &ft. For example :echo &ft


HTH,
Dennis Benzinger

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to