Tuesday, February 10, 2015

Re: Who maintains cobol.vim?

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iF4EAREIAAYFAlTaRlkACgkQRL8D6wymVNZ9UAEA7I8Uju09dKIIAjGBh2bIkudm
kgfXILVqHkNCJTbs16MA/3FeUgreqbjEAVZzEnKjdhzsnSSiMuvzjTrOqaq+tnux
=zaYI
-----END PGP SIGNATURE-----
On 10 Feb 2015, at 15:57, John Culleton wrote:
> There is an annoying error in cobol.vim when used
> with the traditional layout (i.e. first 6 columns
> reserved for a line number and all statements in
> upper case.) The occurrence of the IF verb causes
> the statement containing it to be red highlighted
> as a syntax error.

This may be irrelevant, but...

I've had problems with COBOL.vim if smarttabs are switched on, after starting a new line. The problem is that the smart tabs don't count properly towards working out the column settings and so it highlights what *looks* like it ought to be a valid line as invalid. I got around this by switching off smart tabs in the ftdetect.vim script

If it's this problem you should be able to find out by looking for hard tab characters where there ought to be single space characters?

Regards, Andy


--
Andrew Long
Andrew dot Long at Mac dot com


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment