diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-12-06 08:51:09 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-12-06 14:59:38 +0100 |
commit | f64e4b43e1191ff30d902730f752875aa55682ce (patch) | |
tree | 090bccf406234877f8546c67c4b0e6454311744e /runtime/ftplugin/fortran.vim | |
parent | b95eba22ffa7a5103f60ccd90bc82f7b72524b3f (diff) | |
download | rneovim-f64e4b43e1191ff30d902730f752875aa55682ce.tar.gz rneovim-f64e4b43e1191ff30d902730f752875aa55682ce.tar.bz2 rneovim-f64e4b43e1191ff30d902730f752875aa55682ce.zip |
vim-patch:6863084d3bd0
runtime(fortran): update syntax and ftplugins
closes: vim/vim#13629
https://github.com/vim/vim/commit/6863084d3bd044700973e6180ccb1a044566ec46
Co-authored-by: Ajit-Thakkar <142174202+Ajit-Thakkar@users.noreply.github.com>
Diffstat (limited to 'runtime/ftplugin/fortran.vim')
-rw-r--r-- | runtime/ftplugin/fortran.vim | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/runtime/ftplugin/fortran.vim b/runtime/ftplugin/fortran.vim index 8f5b243b82..a057db9a4b 100644 --- a/runtime/ftplugin/fortran.vim +++ b/runtime/ftplugin/fortran.vim @@ -1,7 +1,8 @@ " Vim settings file " Language: Fortran 2008 (and older: Fortran 2003, 95, 90, 77, 66) -" Version: (v53) 2021 April 06 (updated 2022 May 22) -" Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/> +" Version: (v54) 2023 December 5 +" Maintainers: Ajit J. Thakkar <ajit@unb.ca>; <https://ajit.ext.unb.ca/> +" Joshua Hollett <j.hollett@uwinnipeg.ca> " Usage: For instructions, do :help fortran-plugin from Vim " Credits: " Version 0.1 was created in September 2000 by Ajit Thakkar. @@ -39,7 +40,7 @@ if !exists("b:fortran_fixed_source") " Fixed-form file extension defaults let b:fortran_fixed_source = 1 else - " Modern fortran still allows both fixed and free source form + " Modern fortran compilers still 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 s:lmax lines. " Detection becomes more accurate and time-consuming if more lines @@ -70,14 +71,14 @@ if (b:fortran_fixed_source == 1) " but some vendor extensions allow longer lines if exists("fortran_extended_line_length") setlocal tw=132 - elseif exists("fortran_cardimage_line_length") - setlocal tw=80 else - setlocal tw=72 + " The use of columns 73-80 for sequence numbers is obsolete + " so almost all compilers allow a textwidth of 80 + setlocal tw=80 " If you need to add "&" on continued lines so that the code is " compatible with both free and fixed format, then you should do so - " in column 73 and uncomment the next line - " setlocal tw=73 + " in column 81 and uncomment the next line + " setlocal tw=81 endif else setlocal comments=:! |