summaryrefslogtreecommitdiff
path: root/runtime/syntax
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-09-25 22:11:48 +0200
committerBram Moolenaar <Bram@vim.org>2016-09-25 22:11:48 +0200
commit3e496b0ea31996b665824f45664dee1fdd73c4d0 (patch)
treeba186d3f36fe10fa470832b8d5ef9ec225740378 /runtime/syntax
parent9af418427652562384744648d7d173a4bfebba95 (diff)
downloadvim-git-3e496b0ea31996b665824f45664dee1fdd73c4d0.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/ave.vim2
-rw-r--r--runtime/syntax/fortran.vim14
-rw-r--r--runtime/syntax/sh.vim2
3 files changed, 9 insertions, 9 deletions
diff --git a/runtime/syntax/ave.vim b/runtime/syntax/ave.vim
index 3e82a8bc9..e63e7d2c3 100644
--- a/runtime/syntax/ave.vim
+++ b/runtime/syntax/ave.vim
@@ -34,7 +34,7 @@ syn match aveNumber "[+-]\=\<[0-9]\+\>"
" Operator
syn keyword aveOperator or and max min xor mod by
-" 'not' is a kind of a problem: Its an Operator as well as a method
+" 'not' is a kind of a problem: It's an Operator as well as a method
" 'not' is only marked as an Operator if not applied as method
syn match aveOperator "[^\.]not[^a-zA-Z]"
diff --git a/runtime/syntax/fortran.vim b/runtime/syntax/fortran.vim
index 0b56f5b3a..9d9ab69a3 100644
--- a/runtime/syntax/fortran.vim
+++ b/runtime/syntax/fortran.vim
@@ -1,17 +1,17 @@
" Vim syntax file
" Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77)
-" Version: 0.98
-" Last Change: 2016 Aug. 29
+" Version: 0.99
+" Last Change: 2016 Sep. 23
" Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/>
" Usage: For instructions, do :help fortran-syntax from Vim
" Credits:
-" Version 0.1 (April 2000) was based on the fortran 77 syntax file by Mario Eusebio and
-" Preben Guldberg. Since then, useful suggestions and contributions have been made,
-" in chronological order, by:
+" Version 0.1 (April 2000) for Fortran 95 was based on the Fortran 77 syntax file by
+" Mario Eusebio and Preben Guldberg. Since then, useful suggestions and contributions
+" have been made, in chronological order, by:
" Andrej Panjkov, Bram Moolenaar, Thomas Olsen, Michael Sternberg, Christian Reile,
" Walter Dieudonné, Alexander Wagner, Roman Bertle, Charles Rendleman,
" Andrew Griffiths, Joe Krahn, Hendrik Merx, Matt Thompson, Jan Hermann,
-" Stefano Zaghi and Vishnu V. Krishnan.
+" Stefano Zaghi, Vishnu V. Krishnan and Judicaël Grasset
if exists("b:current_syntax")
finish
@@ -368,7 +368,7 @@ else
endif
syn match fortranComment excludenl "!.*$" contains=@fortranCommentGroup,@spell
-syn match fortranOpenMP excludenl "^\s*!\$\(OMP\)\=\s.*$"
+syn match fortranOpenMP excludenl "^\s*!\$\(OMP\)\=&\=\s.*$"
"cpp is often used with Fortran
syn match cPreProc "^\s*#\s*\(define\|ifdef\)\>.*"
diff --git a/runtime/syntax/sh.vim b/runtime/syntax/sh.vim
index 18da77976..6048aed4e 100644
--- a/runtime/syntax/sh.vim
+++ b/runtime/syntax/sh.vim
@@ -381,7 +381,7 @@ ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc15 start="<<-\s*\\\z([^ \
" Here Strings: {{{1
" =============
-" available for: bash; ksh (really should be ksh93 only) but not if its a posix
+" available for: bash; ksh (really should be ksh93 only) but not if it's a posix
if exists("b:is_bash") || (exists("b:is_kornshell") && !exists("g:is_posix"))
syn match shHereString "<<<" skipwhite nextgroup=shCmdParenRegion
endif