<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/ui/diff_spec.lua, branch aucmd_textputpost</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>refactor(change): do API changes to buffer without curbuf switch</title>
<updated>2023-08-26T10:02:05+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2023-08-21T12:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=008154954791001efcc46c28146e21403f3a698b'/>
<id>008154954791001efcc46c28146e21403f3a698b</id>
<content type='text'>
Most of the messy things when changing a non-current buffer is
not about the buffer, it is about windows. In particular, it is about
`curwin`.

When editing a non-current buffer which is displayed in some other
window in the current tabpage, one such window will be "borrowed" as the
curwin. But this means if two or more non-current windows displayed the buffers,
one of them will be treated differenty. this is not desirable.

In particular, with nvim_buf_set_text, cursor _column_ position was only
corrected for one single window. Two new tests are added: the test
with just one non-current window passes, but the one with two didn't.

Two corresponding such tests were also added for nvim_buf_set_lines.
This already worked correctly on master, but make sure this is
well-tested for future refactors.

Also, nvim_create_buf no longer invokes autocmds just because you happened
to use `scratch=true`. No option value was changed, therefore OptionSet
must not be fired.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of the messy things when changing a non-current buffer is
not about the buffer, it is about windows. In particular, it is about
`curwin`.

When editing a non-current buffer which is displayed in some other
window in the current tabpage, one such window will be "borrowed" as the
curwin. But this means if two or more non-current windows displayed the buffers,
one of them will be treated differenty. this is not desirable.

In particular, with nvim_buf_set_text, cursor _column_ position was only
corrected for one single window. Two new tests are added: the test
with just one non-current window passes, but the one with two didn't.

Two corresponding such tests were also added for nvim_buf_set_lines.
This already worked correctly on master, but make sure this is
well-tested for future refactors.

Also, nvim_create_buf no longer invokes autocmds just because you happened
to use `scratch=true`. No option value was changed, therefore OptionSet
must not be fired.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.0.1506: line number not displayed when using 'smoothscroll' (#23453)</title>
<updated>2023-05-02T23:21:09+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-05-02T23:21:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=62ecb05957f43b140e7dd874e1f84e3a6fa99838'/>
<id>62ecb05957f43b140e7dd874e1f84e3a6fa99838</id>
<content type='text'>
Problem:    Line number not displayed when using 'smoothscroll'.
Solution:   Adjust condition for showing the line number. (closes vim/vim#12333)

https://github.com/vim/vim/commit/88bb3e0a48f160134bdea98cd2b8bd3af86f9d6f</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Line number not displayed when using 'smoothscroll'.
Solution:   Adjust condition for showing the line number. (closes vim/vim#12333)

https://github.com/vim/vim/commit/88bb3e0a48f160134bdea98cd2b8bd3af86f9d6f</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diff): avoid restoring invalid 'foldcolumn' value (#21650)</title>
<updated>2023-01-04T23:12:02+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-01-04T23:12:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ae64772a88125153a438a0e9e43d5f6bcb4eeb28'/>
<id>ae64772a88125153a438a0e9e43d5f6bcb4eeb28</id>
<content type='text'>
Use "0" for 'foldcolumn' when w_p_fdc_save is empty, like how
"manual" is used for 'foldmethod' when w_p_fdm_save is empty.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use "0" for 'foldcolumn' when w_p_fdc_save is empty, like how
"manual" is used for 'foldmethod' when w_p_fdm_save is empty.</pre>
</div>
</content>
</entry>
<entry>
<title>Enable new diff option linematch (#14537)</title>
<updated>2022-11-04T09:07:22+00:00</updated>
<author>
<name>Jonathon</name>
<email>32371757+jwhite510@users.noreply.github.com</email>
</author>
<published>2022-11-04T09:07:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=04fbb1de4488852c3ba332898b17180500f8984e'/>
<id>04fbb1de4488852c3ba332898b17180500f8984e</id>
<content type='text'>
Co-authored-by: Lewis Russell &lt;me@lewisr.dev&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Lewis Russell &lt;me@lewisr.dev&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.5155: in diff mode windows may get out of sync</title>
<updated>2022-07-25T12:30:35+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-07-25T11:12:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=611b43369e73b0da799226f70a6821c0c31ca222'/>
<id>611b43369e73b0da799226f70a6821c0c31ca222</id>
<content type='text'>
Problem:    In diff mode windows may get out of sync. (Gary Johnson)
Solution:   Avoid that the other window scrolls for 'cursorbind'.
https://github.com/vim/vim/commit/a315ce1f326b836167ca8b1037dafd93eb8d4d4e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    In diff mode windows may get out of sync. (Gary Johnson)
Solution:   Avoid that the other window scrolls for 'cursorbind'.
https://github.com/vim/vim/commit/a315ce1f326b836167ca8b1037dafd93eb8d4d4e
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(ui)!: link `VertSplit` to `Normal` by default</title>
<updated>2022-05-15T16:37:35+00:00</updated>
<author>
<name>Famiu Haque</name>
<email>famiuhaque@protonmail.com</email>
</author>
<published>2022-05-15T16:34:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=bbf58e6bbcc107e92d84730a33bd5a32440f5428'/>
<id>bbf58e6bbcc107e92d84730a33bd5a32440f5428</id>
<content type='text'>
Avoids using `gui=reverse` on `VertSplit` and makes window separators
look much nicer by default.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoids using `gui=reverse` on `VertSplit` and makes window separators
look much nicer by default.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.3925: diff mode confused by NUL bytes (#18033)</title>
<updated>2022-04-08T02:45:42+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-04-08T02:45:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2c7dc648ca796786b4847771c1df71dea20a1774'/>
<id>2c7dc648ca796786b4847771c1df71dea20a1774</id>
<content type='text'>
Problem:    Diff mode confused by NUL bytes.
Solution:   Handle NUL bytes differently. (Christian Brabandt, closes vim/vim#9421,
            closes vim/vim#9418)
https://github.com/vim/vim/commit/06f6095623cfcc72da08748c058d13b465652fd4</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Diff mode confused by NUL bytes.
Solution:   Handle NUL bytes differently. (Christian Brabandt, closes vim/vim#9421,
            closes vim/vim#9418)
https://github.com/vim/vim/commit/06f6095623cfcc72da08748c058d13b465652fd4</pre>
</div>
</content>
</entry>
<entry>
<title>test: add a Lua screen test for CursorLineNr in diff mode</title>
<updated>2022-03-08T02:11:20+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-03-06T23:05:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2adc24b18bd9914c67a9d67d8486c06db85bdf9f'/>
<id>2adc24b18bd9914c67a9d67d8486c06db85bdf9f</id>
<content type='text'>
Remove a useless test added in #14190
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove a useless test added in #14190
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(screen): do not draw filler lines post eof if already at last row</title>
<updated>2021-12-07T15:19:56+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2021-12-07T15:00:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b326bf5f419b345d50407be4fb43b937510112a4'/>
<id>b326bf5f419b345d50407be4fb43b937510112a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.3556: filler lines are incorrect for other window in diff mode (#16164)</title>
<updated>2021-10-29T02:04:57+00:00</updated>
<author>
<name>Jaehwang Jerry Jung</name>
<email>tomtomjhj@gmail.com</email>
</author>
<published>2021-10-29T02:04:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=bb79e05f811968b398b3bedf95c012c888b96e44'/>
<id>bb79e05f811968b398b3bedf95c012c888b96e44</id>
<content type='text'>
Problem:    Filler lines are incorrect for other window in diff mode after
            making a change.
Solution:   Copy filler lines from the current window. (closes vim/vim#8809)
https://github.com/vim/vim/commit/841c225b9ef8c5bdf5e02968a0bd62521fff6ca8</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Filler lines are incorrect for other window in diff mode after
            making a change.
Solution:   Copy filler lines from the current window. (closes vim/vim#8809)
https://github.com/vim/vim/commit/841c225b9ef8c5bdf5e02968a0bd62521fff6ca8</pre>
</div>
</content>
</entry>
</feed>
