Re: Change needed in cobol.vim syntax file.

2012-02-16 Thread john Culleton
On Wed, 15 Feb 2012 16:38:47 -0800 (PST) John Little john.b.lit...@gmail.com wrote: On Feb 16, 10:26 am, john Culleton j...@wexfordpress.com wrote: I started with pre-COBOL 68, in 1968.  The IF statement and the AT END statements were legal then and still are legal in all the compilers I

Re: Change needed in cobol.vim syntax file.

2012-02-16 Thread Christian Brabandt
Hi john! On Do, 16 Feb 2012, john Culleton wrote: On Wed, 15 Feb 2012 16:38:47 -0800 (PST) John Little john.b.lit...@gmail.com wrote: On Feb 16, 10:26 am, john Culleton j...@wexfordpress.com wrote: I started with pre-COBOL 68, in 1968.  The IF statement and the AT END statements

Re: Change needed in cobol.vim syntax file.

2012-02-15 Thread john Culleton
On Tue, 14 Feb 2012 23:33:36 -0600 sc tooth...@swbell.net wrote: my syntax module cobol.vim has a 7th line containing: $Id: cobol.vim,v 1.2 2007/05/05 18:23:43 vimboss Exp $ is that the same as yours? sc Yes, they are identical. It is possible that my cobol.vim is corrupt. I will

Re: Change needed in cobol.vim syntax file.

2012-02-15 Thread john Culleton
On Wed, 15 Feb 2012 08:48:49 +0100 Christian Brabandt cbli...@256bit.org wrote: Hi john! :let cobol_legacy_code = 1 See, if this variable exists in your cobol file and enter: :echo cobol_legacy_code If you don't get an error, simply unlet that varible: :unlet cobol_legacy_code

Re: Change needed in cobol.vim syntax file.

2012-02-15 Thread Christian Brabandt
Hi john! On Mi, 15 Feb 2012, john Culleton wrote: On Wed, 15 Feb 2012 08:48:49 +0100 Christian Brabandt cbli...@256bit.org wrote: Hi john! :let cobol_legacy_code = 1 See, if this variable exists in your cobol file and enter: :echo cobol_legacy_code If you don't get

Re: Change needed in cobol.vim syntax file.

2012-02-15 Thread John Little
On Feb 16, 10:26 am, john Culleton j...@wexfordpress.com wrote: I started with pre-COBOL 68, in 1968.  The IF statement and the AT END statements were legal then and still are legal in all the compilers I have used.  I am reasonably certain they were legal in the very first COBOL compiler

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread Andrew Long
On 14 Feb 2012, at 00:02, john Culleton wrote: In the cobol.vim file, something causes all sentences starting with if to be colored red just like an error. The if verb is perfectly legitimate in COBOL, I have used it since 1968. I haven't been using it for *quire* that long, but I agree

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread john Culleton
On Tue, 14 Feb 2012 08:43:28 + Andrew Long andrew.l...@mac.com wrote: On 14 Feb 2012, at 00:02, john Culleton wrote: In the cobol.vim file, something causes all sentences starting with if to be colored red just like an error. The if verb is perfectly legitimate in COBOL, I have

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread John Little
On Feb 14, 1:02 pm, john Culleton j...@wexfordpress.com wrote: In the cobol.vim file, something causes all sentences starting with if to be colored red just like an error. Any chance of sending us some valid cobol showing the problem? Or uploading it somewhere we can get it from? That would

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread john Culleton
On Tue, 14 Feb 2012 15:39:01 -0800 (PST) John Little john.b.lit...@gmail.com wrote: On Feb 14, 1:02 pm, john Culleton j...@wexfordpress.com wrote: In the cobol.vim file, something causes all sentences starting with if to be colored red just like an error. Any chance of sending us some

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread sc
On Tue, Feb 14, 2012 at 11:06:53PM -0500, john Culleton wrote: On Tue, 14 Feb 2012 15:39:01 -0800 (PST) John Little john.b.lit...@gmail.com wrote: On Feb 14, 1:02 pm, john Culleton j...@wexfordpress.com wrote: In the cobol.vim file, something causes all sentences starting with if to be

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread Christian Brabandt
Hi john! On Di, 14 Feb 2012, john Culleton wrote: On Tue, 14 Feb 2012 15:39:01 -0800 (PST) John Little john.b.lit...@gmail.com wrote: On Feb 14, 1:02 pm, john Culleton j...@wexfordpress.com wrote: In the cobol.vim file, something causes all sentences starting with if to be colored

Change needed in cobol.vim syntax file.

2012-02-13 Thread john Culleton
In the cobol.vim file, something causes all sentences starting with if to be colored red just like an error. The if verb is perfectly legitimate in COBOL, I have used it since 1968. Will someone who reads and understands vim files please tell me which line or lines to change? The way it is now