Mercurial > vim
comparison runtime/syntax/fortran.vim @ 10228:8a1481e59d64
commit https://github.com/vim/vim/commit/3e496b0ea31996b665824f45664dee1fdd73c4d0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 25 22:11:48 2016 +0200
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 25 Sep 2016 22:15:04 +0200 |
parents | 43efa4f5a8ea |
children | 368468ef35cf |
comparison
equal
deleted
inserted
replaced
10227:3c984cfd5293 | 10228:8a1481e59d64 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77) | 2 " Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77) |
3 " Version: 0.98 | 3 " Version: 0.99 |
4 " Last Change: 2016 Aug. 29 | 4 " Last Change: 2016 Sep. 23 |
5 " Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/> | 5 " Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/> |
6 " Usage: For instructions, do :help fortran-syntax from Vim | 6 " Usage: For instructions, do :help fortran-syntax from Vim |
7 " Credits: | 7 " Credits: |
8 " Version 0.1 (April 2000) was based on the fortran 77 syntax file by Mario Eusebio and | 8 " Version 0.1 (April 2000) for Fortran 95 was based on the Fortran 77 syntax file by |
9 " Preben Guldberg. Since then, useful suggestions and contributions have been made, | 9 " Mario Eusebio and Preben Guldberg. Since then, useful suggestions and contributions |
10 " in chronological order, by: | 10 " have been made, in chronological order, by: |
11 " Andrej Panjkov, Bram Moolenaar, Thomas Olsen, Michael Sternberg, Christian Reile, | 11 " Andrej Panjkov, Bram Moolenaar, Thomas Olsen, Michael Sternberg, Christian Reile, |
12 " Walter Dieudonné, Alexander Wagner, Roman Bertle, Charles Rendleman, | 12 " Walter Dieudonné, Alexander Wagner, Roman Bertle, Charles Rendleman, |
13 " Andrew Griffiths, Joe Krahn, Hendrik Merx, Matt Thompson, Jan Hermann, | 13 " Andrew Griffiths, Joe Krahn, Hendrik Merx, Matt Thompson, Jan Hermann, |
14 " Stefano Zaghi and Vishnu V. Krishnan. | 14 " Stefano Zaghi, Vishnu V. Krishnan and Judicaël Grasset |
15 | 15 |
16 if exists("b:current_syntax") | 16 if exists("b:current_syntax") |
17 finish | 17 finish |
18 endif | 18 endif |
19 | 19 |
366 else | 366 else |
367 syn match fortranContinueMark display "&" | 367 syn match fortranContinueMark display "&" |
368 endif | 368 endif |
369 | 369 |
370 syn match fortranComment excludenl "!.*$" contains=@fortranCommentGroup,@spell | 370 syn match fortranComment excludenl "!.*$" contains=@fortranCommentGroup,@spell |
371 syn match fortranOpenMP excludenl "^\s*!\$\(OMP\)\=\s.*$" | 371 syn match fortranOpenMP excludenl "^\s*!\$\(OMP\)\=&\=\s.*$" |
372 | 372 |
373 "cpp is often used with Fortran | 373 "cpp is often used with Fortran |
374 syn match cPreProc "^\s*#\s*\(define\|ifdef\)\>.*" | 374 syn match cPreProc "^\s*#\s*\(define\|ifdef\)\>.*" |
375 syn match cPreProc "^\s*#\s*\(elif\|if\)\>.*" | 375 syn match cPreProc "^\s*#\s*\(elif\|if\)\>.*" |
376 syn match cPreProc "^\s*#\s*\(ifndef\|undef\)\>.*" | 376 syn match cPreProc "^\s*#\s*\(ifndef\|undef\)\>.*" |