File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Expand file tree Collapse file tree 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.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
77
8+ ## [ Unreleased]
9+ ### Added
10+ * Syntax highlight for 'forall' construct (#82 )
11+
812## [ 1.3.1] - 2018-06-26
913
1014### Fixed
1115* Subroutine and function on symbol list were failing with more than one line arguments (#71 )
1216* Minor syntax highlighting issues (#62 , #73 )
1317
14- ## Added
18+ ### Added
1519* Implementation of OpenMP directives highlighting (#17 )
1620* Syntax highlight on multiple line of dummy arguments
1721
Original file line number Diff line number Diff line change 14541454 }
14551455 ]
14561456 },
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+ },
14571492 "control-statements" : {
14581493 "patterns" : [
14591494 {
You can’t perform that action at this time.
0 commit comments