On 2010-04-16, Tony Mechelynck wrote:
> On 16/04/10 20:16, John Culleton wrote:
> >  When I hit the "Enter" key at the end of a line the current line jumps
> >right about ten spaces. So I have to go back to delete the extra spaces.
> >I use traditional COBOL line numbers in columns 1-6 but with leading zero
> >suppresson.
> >
> >Suggestions?

> I think there is a way to tell Vim whether you're using "traditional" or 
> "modern" COBOL programming style... let me check...
> 
> Ah, there. Does
> 
>       :let g:cobol_legacy_code = 1
> 
> make a difference? The other possibility is
> 
>       :silent! unlet g:cobol_legacy_code
> 
> see :help ft-cobol-syntax

I think John is having problems with the indent plugin, not the
syntax plugin, and the indent plugin seems to allow only 6-digit
line numbers or no line numbers.  See lines 68-71 of
$VIMRUNTIME/indent/cobol.vim.

Note:  I know nothing about COBOL.

Regards,
Gary

-- 
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

Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en

Reply via email to