-*quickref.txt* For Vim version 7.3b. Last change: 2010 Jul 22
+*quickref.txt* For Vim version 7.3b. Last change: 2010 Jul 24
VIM REFERENCE MANUAL by Bram Moolenaar
'undodir' 'udir' where to store undo files
'undofile' 'udf' save undo information in a file
'undolevels' 'ul' maximum number of changes that can be undone
+'undoreload' 'ur' max nr of lines to save for undo on a buffer reload
'updatecount' 'uc' after this many characters flush swap file
'updatetime' 'ut' after this many milliseconds flush swap file
'verbose' 'vbs' give informative messages
'wildmode' 'wim' mode for 'wildchar' command-line expansion
'wildoptions' 'wop' specifies how command line completion is done
'winaltkeys' 'wak' when the windows system handles ALT keys
+'window' 'wi' nr of lines to scroll for CTRL-F and CTRL-B
'winheight' 'wh' minimum number of lines for the current window
'winfixheight' 'wfh' keep window height when opening/closing windows
'winfixwidth' 'wfw' keep window width when opening/closing windows
Default highlighting and dialect ~
Highlighting appropriate for f95 (Fortran 95) is used by default. This choice
should be appropriate for most users most of the time because Fortran 95 is a
-superset of Fortran 90 and almost a superset of Fortran 77. Preliminary
-support for Fortran 2003 and Fortran 2008 features has been introduced and is
+superset of Fortran 90 and almost a superset of Fortran 77. Support for
+Fortran 2003 and Fortran 2008 features has been introduced and is
automatically available in the default (f95) highlighting.
Fortran source code form ~
*known-bugs*
-------------------- Known bugs and current work -----------------------
+Diff python and python3 code, some is missing in python3.
+
Before release 7.3:
- Rename vim73 branch to default (hints: Xavier de Gaye, 2010 May 23)
" Vim settings file
" Language: Fortran90 (and Fortran95, Fortran77, F and elf90)
-" Version: 0.45
-" Last Change: 2006 Apr. 03
-" URL: http://www.unb.ca/chem/ajit/ftplugin/fortran.vim
+" Version: 0.46
+" Last Change: 2010 July 24
" Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www.unb.ca/chem/ajit/>
" Usage: Do :help fortran-plugin from Vim
-" Credits: Useful suggestions were made by Stefano Zacchiroli
+" Credits:
+" Useful suggestions were made by Stefano Zacchiroli and Hendrik Merx.
" Only do these settings when not done yet for this buffer
if exists("b:did_ftplugin")
else
" f90 and f95 allow both fixed and free source form
" assume fixed source form unless signs of free source form
- " are detected in the first five columns of the first 250 lines
+ " are detected in the first five columns of the first s:lmax lines
" Detection becomes more accurate and time-consuming if more lines
" are checked. Increase the limit below if you keep lots of comments at
" the very top of each file and you have a fast computer
- let s:lmax = 250
+ let s:lmax = 500
if ( s:lmax > line("$") )
let s:lmax = line("$")
endif
let s:ln=1
while s:ln <= s:lmax
let s:test = strpart(getline(s:ln),0,5)
- if s:test[0] !~ '[Cc*!#]' && s:test !~ '^ \+[!#]' && s:test =~ '[^ 0-9\t]'
+ if s:test !~ '^[Cc*]' && s:test !~ '^ *[!#]' && s:test =~ '[^ 0-9\t]' && s:test !~ '^[ 0-9]*\t'
let b:fortran_fixed_source = 0
break
endif
let s:ln = s:ln + 1
endwhile
+ unlet! s:lmax s:ln s:test
endif
endif
call append("$", "\t(local to buffer)")
call <SID>BinOptionL("sn")
endif
-call append("$", "cryptmethod\encryption method for file writing: zip or blowfish")
+call append("$", "cryptmethod\tencryption method for file writing: zip or blowfish")
call append("$", "\t(local to buffer)")
call <SID>OptionL("cm")