aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/cobol.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-01-14 23:14:23 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-01-14 23:14:23 -0500
commit24fbb2c866039d61107fa1f6a2efe86bb6951e55 (patch)
treea4f58394b187f382e3ad9258448368a189c42454 /runtime/syntax/cobol.vim
parent403467056818dce535059c87f289db00b0d4216c (diff)
parentcf0ff1dd0ff93f6ce40af76d671f4d173258fab4 (diff)
downloadrneovim-24fbb2c866039d61107fa1f6a2efe86bb6951e55.tar.gz
rneovim-24fbb2c866039d61107fa1f6a2efe86bb6951e55.tar.bz2
rneovim-24fbb2c866039d61107fa1f6a2efe86bb6951e55.zip
Merge pull request #4014 from jusga/vim-2b8388b
vim-patch:2b8388b
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