diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-12-30 13:11:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-12-30 13:11:27 +0100 |
commit | b6b046b281fac168a78b3eafdea9274bef06882f (patch) | |
tree | 8d50c58421278f30521e290a8cf18c6085b78168 /runtime/indent/fortran.vim | |
parent | deaf7b739791095e2c98a7087dfe9b3c8dfd56f2 (diff) |
Updated runtime files.
Diffstat (limited to 'runtime/indent/fortran.vim')
-rw-r--r-- | runtime/indent/fortran.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/indent/fortran.vim b/runtime/indent/fortran.vim index a651c09c6b..e76c64b671 100644 --- a/runtime/indent/fortran.vim +++ b/runtime/indent/fortran.vim @@ -1,7 +1,7 @@ " Vim indent file " Language: Fortran95 (and Fortran90, Fortran77, F and elf90) -" Version: 0.39 -" Last Change: 2011 May 30 +" Version: 0.40 +" Last Change: 2011 Dec. 28 " Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www.unb.ca/chem/ajit/> " Usage: Do :help fortran-indent from Vim @@ -11,6 +11,9 @@ if exists("b:did_indent") endif let b:did_indent = 1 +let s:cposet=&cpoptions +set cpoptions&vim + setlocal indentkeys+==~end,=~case,=~if,=~else,=~do,=~where,=~elsewhere,=~select setlocal indentkeys+==~endif,=~enddo,=~endwhere,=~endselect,=~elseif setlocal indentkeys+==~type,=~interface,=~forall,=~associate,=~block,=~enum @@ -67,9 +70,6 @@ else endif endif -let s:cposet=&cpoptions -set cpoptions-=C - function FortranGetIndent(lnum) let ind = indent(a:lnum) let prevline=getline(a:lnum) |