<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/editor, branch tmp</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>test: use poke_eventloop() instead of sleep(10) where possible (#19794)</title>
<updated>2022-08-16T07:21:46+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-16T07:21:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=cf3b871fa940c42e9c94257118f7d1131ebd362a'/>
<id>cf3b871fa940c42e9c94257118f7d1131ebd362a</id>
<content type='text'>
Using sleep(10) to wait for typeahead to finish is flaky, especially on
macOS, where legacy/global_spec.lua has failed several times.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using sleep(10) to wait for typeahead to finish is flaky, especially on
macOS, where legacy/global_spec.lua has failed several times.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(completion): remove wrong FUNC_ATTR_NONNULL_ALL (#19627)</title>
<updated>2022-08-03T13:50:14+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-03T13:50:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0a29267514c57c438d68a3d5599bfada41363b24'/>
<id>0a29267514c57c438d68a3d5599bfada41363b24</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ui): set redraw_cmdline when setting window height (#19630)</title>
<updated>2022-08-03T11:25:03+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-03T11:25:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c57e133e50b9f3ccd9a3d73f4e7e3e7281797000'/>
<id>c57e133e50b9f3ccd9a3d73f4e7e3e7281797000</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(tabpage): check if ROWS_AVAIL changed for resize (#19620)</title>
<updated>2022-08-02T12:48:41+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-02T12:48:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=def0ced4c7207ee38d77f146e1527f283e44b6f2'/>
<id>def0ced4c7207ee38d77f146e1527f283e44b6f2</id>
<content type='text'>
N/A patches for version.c:

vim-patch:9.0.0135: comment about tabpage line above the wrong code

Problem:    Comment about tabpage line above the wrong code.
Solution:   Move the comment. (closes vim/vim#10836)
https://github.com/vim/vim/commit/0b0ccbbfb014e1c9682b86a7a41ff2837b0b8047</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
N/A patches for version.c:

vim-patch:9.0.0135: comment about tabpage line above the wrong code

Problem:    Comment about tabpage line above the wrong code.
Solution:   Move the comment. (closes vim/vim#10836)
https://github.com/vim/vim/commit/0b0ccbbfb014e1c9682b86a7a41ff2837b0b8047</pre>
</div>
</content>
</entry>
<entry>
<title>fix(input): do no reinterpret mouse keys with ALT modifiers</title>
<updated>2022-07-25T01:47:28+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-06-16T23:28:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=eb77122823f35c2296cc332aec7f4380db6dafe7'/>
<id>eb77122823f35c2296cc332aec7f4380db6dafe7</id>
<content type='text'>
Remove check for MOD_MASK_META as it is for &lt;T- which never appears in TUI.
Make small changes to docs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove check for MOD_MASK_META as it is for &lt;T- which never appears in TUI.
Make small changes to docs.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(mark): give correct error message when mark is in another buffer (#19454)</title>
<updated>2022-07-21T09:42:17+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-07-21T09:42:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c15e9d3746ee0aa6a9d80596bffc19e9ac9612bc'/>
<id>c15e9d3746ee0aa6a9d80596bffc19e9ac9612bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>perf(ui): eliminate spurious memory allocations for hl_attr_define event</title>
<updated>2022-07-18T12:08:44+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2022-06-25T16:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=45bee1dafd0d4042f3b22928b5cc6021a1772bb7'/>
<id>45bee1dafd0d4042f3b22928b5cc6021a1772bb7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(mark): fix unexpected cursor movements (#19253)</title>
<updated>2022-07-06T11:01:44+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-07-06T11:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9ced05413474a7c8b8a8b2f36a27db29a37dfaf6'/>
<id>9ced05413474a7c8b8a8b2f36a27db29a37dfaf6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(mark): mark without a view restores at topline #19224</title>
<updated>2022-07-04T20:28:14+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-07-04T20:28:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=826fe56f5cf30a823dc627b8a710174d04004cef'/>
<id>826fe56f5cf30a823dc627b8a710174d04004cef</id>
<content type='text'>
For a local mark without a view, currently trying to restore its view
will put the cursor at topline, which is not the correct behavior.
Initialize `topline_offset` to `MAXLNUM` instead to fix this.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For a local mark without a view, currently trying to restore its view
will put the cursor at topline, which is not the correct behavior.
Initialize `topline_offset` to `MAXLNUM` instead to fix this.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(marks): restore viewport on jump #15831</title>
<updated>2022-06-30T12:59:52+00:00</updated>
<author>
<name>Javier Lopez</name>
<email>graulopezjavier@gmail.com</email>
</author>
<published>2022-06-30T12:59:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=565f72b9689e0c440ff72c712a090224aaf7631b'/>
<id>565f72b9689e0c440ff72c712a090224aaf7631b</id>
<content type='text'>
** Refactor

Previously most functions used to "get" a mark returned a position,
changed the line number and sometimes changed even the current buffer.

Now functions return a {x}fmark_T making calling context aware whether
the mark is in another buffer without arcane casting. A new function is
provided for switching to the mark buffer and returning a flag style
Enum to convey what happen in the movement. If the cursor changed, line,
columns, if it changed buffer, etc.

The function to get named mark was split into multiple functions.

- mark_get() -&gt; fmark_T
- mark_get_global() -&gt; xfmark_T
- mark_get_local() -&gt; fmark_T
  - mark_get_motion() -&gt; fmark_T
  - mark_get_visual() -&gt; fmark_T

Functions that manage the changelist and jumplist were also modified to
return mark types.

- get_jumplist -&gt; fmark_T
- get_changelist -&gt; fmark_T

The refactor is also seen mainly on normal.c, where all the mark
movement has been siphoned through one function nv_gomark, while the
other functions handle getting the mark and setting their movement
flags. To handle whether context marks should be left, etc.

** Mark View

While doing the refactor the concept of a mark view was also
implemented:

The view of a mark currently implemented as the number of lines between
the mark position on creation and the window topline. This allows for
moving not only back to the position of a mark but having the window
look similar to when the mark was defined. This is done by carrying and
extra element in the fmark_T struct, which can be extended later to also
restore horizontal shift.

*** User space features

1. There's a new option, jumpoptions+=view enables the mark view restoring
automatically when using the jumplist, changelist, alternate-file and
mark motions. &lt;C-O&gt; &lt;C-I&gt; g; g, &lt;C-^&gt; '[mark] `[mark]

** Limitations

- The view information is not saved in shada.
- Calls to get_mark should copy the value in the pointer since we are
  using pos_to_mark() to wrap and provide a homogeneous interfaces. This
  was also a limitation in the previous state of things.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
** Refactor

Previously most functions used to "get" a mark returned a position,
changed the line number and sometimes changed even the current buffer.

Now functions return a {x}fmark_T making calling context aware whether
the mark is in another buffer without arcane casting. A new function is
provided for switching to the mark buffer and returning a flag style
Enum to convey what happen in the movement. If the cursor changed, line,
columns, if it changed buffer, etc.

The function to get named mark was split into multiple functions.

- mark_get() -&gt; fmark_T
- mark_get_global() -&gt; xfmark_T
- mark_get_local() -&gt; fmark_T
  - mark_get_motion() -&gt; fmark_T
  - mark_get_visual() -&gt; fmark_T

Functions that manage the changelist and jumplist were also modified to
return mark types.

- get_jumplist -&gt; fmark_T
- get_changelist -&gt; fmark_T

The refactor is also seen mainly on normal.c, where all the mark
movement has been siphoned through one function nv_gomark, while the
other functions handle getting the mark and setting their movement
flags. To handle whether context marks should be left, etc.

** Mark View

While doing the refactor the concept of a mark view was also
implemented:

The view of a mark currently implemented as the number of lines between
the mark position on creation and the window topline. This allows for
moving not only back to the position of a mark but having the window
look similar to when the mark was defined. This is done by carrying and
extra element in the fmark_T struct, which can be extended later to also
restore horizontal shift.

*** User space features

1. There's a new option, jumpoptions+=view enables the mark view restoring
automatically when using the jumplist, changelist, alternate-file and
mark motions. &lt;C-O&gt; &lt;C-I&gt; g; g, &lt;C-^&gt; '[mark] `[mark]

** Limitations

- The view information is not saved in shada.
- Calls to get_mark should copy the value in the pointer since we are
  using pos_to_mark() to wrap and provide a homogeneous interfaces. This
  was also a limitation in the previous state of things.</pre>
</div>
</content>
</entry>
</feed>
