Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-23-2004, 06:00 AM   #1
LQ Newbie
Registered: Nov 2004
Distribution: Scientific Linux 6.4
Posts: 22

Rep: Reputation: 0
vim and fortran smart-indenting

Hello to all, this is my first post and I am sure it won't be the last ;-)

I have a problem with vim that I cannot figure out (currently using fedora core 3). Vim is very good in smart indenting when writing c code, but when I open a fortran file, there is no smart indenting.
Q1. Is autocmd enabled when vim is installed from the FC3 rpm's? I have read from the help files and .vimrc that for smart indenting autocmd has to be enabled during compile.
Q2. If so, how do I import the fortran.vim indenting file to vim so that I could enabke fortran smart indenting?

If autocmd is not enabled in compile-time, could you please show me what do I need to change other than uncommenting the #define FEATURE_LARGE (or something like that) in feature.h?

Thanks a lot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
encryption with Vim (vim -x) mikshaw Linux - Software 2 03-07-2007 10:00 AM
does linux fortran compiler in fedora 4 support VAX FORTRAN? terrence Programming 17 08-31-2005 09:59 AM
Emacs, scheme, syntax highlighting, indenting jrdioko Linux - Software 0 07-16-2005 05:13 PM
Make vi stop indenting tumana Linux - Newbie 1 04-06-2004 10:12 PM
XEmacs and automatic indenting jeempc Programming 3 03-17-2003 07:50 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration