diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-16 13:41:54 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-16 13:41:54 +0200 |
commit | 3ee6ab9d13767aacceea51e72ecf9646206b7163 (patch) | |
tree | 0d4ff5e447f262d709c18ef0e95622bb7b1c13f2 /indent/fortran.vim | |
parent | cd919c003992d5868b2b6e254ca265f82a45933f (diff) | |
download | vim-polyglot-3ee6ab9d13767aacceea51e72ecf9646206b7163.tar.gz vim-polyglot-3ee6ab9d13767aacceea51e72ecf9646206b7163.zip |
Update
Diffstat (limited to '')
-rw-r--r-- | indent/fortran.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indent/fortran.vim b/indent/fortran.vim index 1fed2974..a4c5f130 100644 --- a/indent/fortran.vim +++ b/indent/fortran.vim @@ -2,14 +2,14 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fortran') == -1 " Vim indent file " Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77) -" Version: 47 -" Last Change: 2020 Apr 20 -" Patched By: Eisuke Kawashima +" Version: (v48) 2020 October 07 " Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/> " Usage: For instructions, do :help fortran-indent from Vim " Credits: -" Useful suggestions were made, in chronological order, by: -" Albert Oliver Serra, Takuya Fujiwara and Philipp Edelmann. +" Version 0.1 was created in September 2000 by Ajit Thakkar. +" Since then, useful suggestions and contributions have been made, in order, by: +" Albert Oliver Serra, Takuya Fujiwara, Philipp Edelmann, Eisuke Kawashima, +" and Louis Cochen. " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -148,7 +148,7 @@ function FortranGetIndent(lnum) \. 'type\|forall\|associate\|enum\|block\)\)\>' let ind = ind - shiftwidth() " Fix indent for case statement immediately after select - if prevstat =~? '\<select\s\+\(case\|type\)\>' + if prevstat =~? '\<select\s*\(case\|type\)\>' let ind = ind + shiftwidth() endif endif |