vim smart-indenting for filetypes other than C
Hello to all (this is my first post)
I am currently learning C and a little bit of Fortran programming. I am mainly using vim and I have seen that smart-indenting is an excellent help for writing c programs, but cannot figure out how to emable this when writing fortran code. (even when I open a .f,... file and not starting from scratch)
Q1. I have read from the manuals that autocmd has to be enabled at compile time for the smart indenting of the different filetypes. I am using fedora core 3 and I am not sure if vim was compiled with autocmd or not. How do I check this?
Q2. If autocmd is enabled as default, then how do I import eg. fortran.vim indenting file to vim, so that it could smart indent fortran code
Thanks in advance