[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vim



2009/3/11 hr mahan <hr.mahan@yahoo.com>:
> Hi all,
>
> I would like to use vim as editor for my Fortran programs.  In Fedora vim
> colorizes the program's text.  I would like to have this option enabled on
> my Debian box as well.  What is the solution?

First, make sure that you have the syntax file for fortran.
e.g.
$ dpkg -S syntax/fortran.vim
vim-runtime: /usr/share/vim/vim71/syntax/fortran.vim

Next, read vim help (`:help syntax`) to decide how you wish to enable
it. (probably `:syntax enable`)

cheers,
Owen.


Reply to: