aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/cobol.vim
diff options
context:
space:
mode:
authorJustin Gassner <justin.gassner@web.de>2016-01-14 17:18:12 +0100
committerJustin Gassner <justin.gassner@web.de>2016-01-14 17:58:15 +0100
commitcf0ff1dd0ff93f6ce40af76d671f4d173258fab4 (patch)
tree4ce3b8688b5b1ba3a52b6dc2ea52269018dde268 /runtime/syntax/cobol.vim
parentbf7bc4dcf0023eb493c0b1d7860e72f3dcd04d78 (diff)
downloadrneovim-cf0ff1dd0ff93f6ce40af76d671f4d173258fab4.tar.gz
rneovim-cf0ff1dd0ff93f6ce40af76d671f4d173258fab4.tar.bz2
rneovim-cf0ff1dd0ff93f6ce40af76d671f4d173258fab4.zip
vim-patch:2b8388b
Updated runtime files. https://github.com/vim/vim/commit/2b8388bd0175835eb751e6c58cd0b0b69465f0d9
Diffstat (limited to 'runtime/syntax/cobol.vim')
-rw-r--r--runtime/syntax/cobol.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/syntax/cobol.vim b/runtime/syntax/cobol.vim
index 5315e75211..51ca3d8773 100644
--- a/runtime/syntax/cobol.vim
+++ b/runtime/syntax/cobol.vim
@@ -1,10 +1,10 @@
" Vim syntax file
-" Language: COBOL
-" Maintainer: Tim Pope <vimNOSPAM@tpope.info>
+" Language: COBOL
+" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" (formerly Davyd Ondrejko <vondraco@columbus.rr.com>)
" (formerly Sitaram Chamarty <sitaram@diac.com> and
-" James Mitchell <james_mitchell@acm.org>)
-" $Id: cobol.vim,v 1.2 2007/05/05 18:23:43 vimboss Exp $
+" James Mitchell <james_mitchell@acm.org>)
+" Last Change: 2015 Feb 13
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
@@ -145,7 +145,7 @@ syn match cobolString /'[^']*\('\|$\)/
syn match cobolIndicator "\%7c[D-]" contained
if exists("cobol_legacy_code")
- syn region cobolCondFlow contains=ALLBUT,cobolLine start="\<\(IF\|INVALID\|END\|EOP\)\>" skip=/\('\|"\)[^"]\{-}\("\|'\|$\)/ end="\." keepend
+ syn region cobolCondFlow contains=ALLBUT,cobolLine,cobolBadLine start="\<\(IF\|INVALID\|END\|EOP\)\>" skip=/\('\|"\)[^"]\{-}\("\|'\|$\)/ end="\." keepend
endif
" many legacy sources have junk in columns 1-6: must be before others