<document pattern="^.*\.(f|for|f90|f95)$">

<item name="options" casecare="0"></item>

<item name="keywords" type="keywords" color="keywords" fontstyle="bold">\b(.and.|.eq.|.eqv.|.ge.|.gt.|.le.|.lt.|.ne.|.neqv.|.not.|.or.|call|case|contains|continue|cycle|default|do|else|elsewhere|end|enddo|ednforall|endwhere|endif|exit|forall|function|if|implicit|include|interface|module|module|print|program|recursive|return|select|stop|subroutine|then|type|use|where|while|write)\b</item>

<item name="types" type="keywords" color="type">\b(character|complex|data|double|integer|logical|real)\b</item>

<item name="modifiers" type="keywords" color="modifiers" fontstyle="bold">\b(parameter|pointer|target|allocatable|dimension|pure|public|private|intent|optional|result|save|external|intrinsic)\b</item>

<item name="quotes" type="item" color="quotes">("[^\"]*")</item>

<item name="char" type="item" color="quotes">('[^']*')</item>

<item name="operator" type="item" color="operator">[-=\+\*\/\|]</item>

<item name="bracket" type="item" color="brackets">[\(\)\[\]]</item>

<item name="single comment" type="item" color="single comment" fontstyle="italic">![^\n]*</item>

<item name="mcomment-start" type="mcomment-start" color="mcomment-start" fontstyle="italic">
/\*
</item>

<item name="mcomment-end" type="mcomment-end">
\*/
</item>

<item name="cm_single" type="comment">!%s</item>

</document>
