File tree 2 files changed +40
-1
lines changed
2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,17 @@ All notable changes to this extension will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
7
7
8
+ ## [ Unreleased]
9
+ ### Added
10
+ * Syntax highlight for 'forall' construct (#82 )
11
+
8
12
## [ 1.3.1] - 2018-06-26
9
13
10
14
### Fixed
11
15
* Subroutine and function on symbol list were failing with more than one line arguments (#71 )
12
16
* Minor syntax highlighting issues (#62 , #73 )
13
17
14
- ## Added
18
+ ### Added
15
19
* Implementation of OpenMP directives highlighting (#17 )
16
20
* Syntax highlight on multiple line of dummy arguments
17
21
Original file line number Diff line number Diff line change 1454
1454
}
1455
1455
]
1456
1456
},
1457
+ "forall-construct" : {
1458
+ "comment" : " Introduced in the Fortran 1995 standard." ,
1459
+ "contentName" : " meta.block.forall.fortran" ,
1460
+ "begin" : " (?i)\\ s*\\ b(forall)\\ b" ,
1461
+ "beginCaptures" :{
1462
+ "1" : {
1463
+ "name" : " keyword.control.forall.fortran"
1464
+ }
1465
+ },
1466
+ "end" : " (?i)\\ s*\\ b(end\\ s*forall)\\ b" ,
1467
+ "endCaptures" : {
1468
+ "1" : {
1469
+ "name" : " keyword.control.endforall.fortran"
1470
+ }
1471
+ },
1472
+ "patterns" :[
1473
+ {
1474
+ "comment" : " Loop control." ,
1475
+ "name" : " meta.loop-control.fortran" ,
1476
+ "begin" : " (?i)\\ G(?!\\ s*[;!\\ n])" ,
1477
+ "end" : " (?=[;!\\ n])" ,
1478
+ "patterns" :[
1479
+ {
1480
+ "include" : " #parentheses"
1481
+ },
1482
+ {
1483
+ "include" : " #invalid-word"
1484
+ }
1485
+ ]
1486
+ },
1487
+ {
1488
+ "include" : " $base"
1489
+ }
1490
+ ]
1491
+ },
1457
1492
"control-statements" : {
1458
1493
"patterns" : [
1459
1494
{
You can’t perform that action at this time.
0 commit comments