On Tue, 10 Feb 2015 17:56:29 +0000 Andrew Long <[email protected]> wrote:
> 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 > > Can't find ftdetect.vim script. Is there a better spelling of the name? Stay warm, -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Updated PDF e-book: "Create Book Covers with Scribus 1.4.5" coming soon at http://www.booklocker.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 [email protected]. For more options, visit https://groups.google.com/d/optout.
