make it auto scroll horizontally

2023-03-26 Thread Igor Lerinc
how to make Vim, when it have long line, and my cursor is drawing end of window, that it just move half screen horizontally. so it detect automatically and move. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to.

Re: alternating lines ?

2023-03-26 Thread jr
hi, On Mon, 27 Mar 2023 at 05:08, Igor Lerinc wrote: > > how to get sort of alternating lines ? > not sure how to explain it, but if i want to have one line that is of > background of colorscheme, and line after that, to have like some sort of > deviation in terms of highlight. and line after

alternating lines ?

2023-03-26 Thread Igor Lerinc
how to get sort of alternating lines ? not sure how to explain it, but if i want to have one line that is of background of colorscheme, and line after that, to have like some sort of deviation in terms of highlight. and line after this, to be again, background of colorscheme. something like i

Re: [vim9script] Forward declarations for classes?

2023-03-26 Thread Lifepillar
On 2023-03-26, Bram Moolenaar wrote: > The second one should just work. Currently the class is only defined > when "endclass" is found. Doing it earlier is more implementation work, > but it should not require anything on the user side. > > For the first example I'm not sure what the best

Re: [vim9script] Forward declarations for classes?

2023-03-26 Thread Bram Moolenaar
> Consider the following example: > > class Rgb > this.r: float > this.g: float > this.b: float > > def ToHsv(): Hsv > # ... > enddef > endclass > > class Hsv > this.h: float > this.s: float > this.v: float > > def

[vim9script] Forward declarations for classes?

2023-03-26 Thread Lifepillar
Consider the following example: class Rgb this.r: float this.g: float this.b: float def ToHsv(): Hsv # ... enddef endclass class Hsv this.h: float this.s: float this.v: float def ToRgb(): Rgb # ... enddef