runtime(fortran): update syntax and documentation (#13784)
* Update Fortran section of indent.txt * Small addition to fortran syntax Signed-off-by: Ajit-Thakkar <142174202+Ajit-Thakkar@users.noreply.github.com> Signed-off-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org> * Update Fortran section of syntax.txt * Runtime (Fortran) Fix regression * Combine two expressions
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*indent.txt* For Vim version 9.0. Last change: 2023 Dec 23
|
||||
*indent.txt* For Vim version 9.0. Last change: 2023 Dec 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -712,15 +712,16 @@ clojure-mode.el:
|
||||
|
||||
FORTRAN *ft-fortran-indent*
|
||||
|
||||
Block if, select case, where, and forall constructs are indented. So are
|
||||
type, interface, associate, block, and enum constructs. The indenting of
|
||||
subroutines, functions, modules, and program blocks is optional. Comments,
|
||||
labeled statements, and continuation lines are indented if the Fortran is in
|
||||
free source form, whereas they are not indented if the Fortran is in fixed
|
||||
source form because of the left margin requirements. Hence manual indent
|
||||
corrections will be necessary for labeled statements and continuation lines
|
||||
when fixed source form is being used. For further discussion of the method
|
||||
used for the detection of source format see |ft-fortran-syntax|.
|
||||
Block if, select case, select type, select rank, where, forall, type,
|
||||
interface, associate, block, enum, critical, and change team constructs are
|
||||
indented. The indenting of subroutines, functions, modules, and program blocks
|
||||
is optional. Comments, labeled statements, and continuation lines are indented
|
||||
if the Fortran is in free source form, whereas they are not indented if the
|
||||
Fortran is in fixed source form because of the left margin requirements. Hence
|
||||
manual indent corrections will be necessary for labeled statements and
|
||||
continuation lines when fixed source form is being used. For further
|
||||
discussion of the method used for the detection of source format see
|
||||
|ft-fortran-syntax|.
|
||||
|
||||
Do loops ~
|
||||
All do loops are left unindented by default. Do loops can be unstructured in
|
||||
|
||||
Reference in New Issue
Block a user