<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/api, branch mix_20240309</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: more tests for nvim_eval_statusline "fillchar" (#27502)</title>
<updated>2024-02-17T00:45:35+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2024-02-17T00:45:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=848fc8ede84b9cfc4e651e0e3b449060a8a8d70c'/>
<id>848fc8ede84b9cfc4e651e0e3b449060a8a8d70c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(api): don't use stl 'fillchar' for "use_statuscol_lnum" (#27501)</title>
<updated>2024-02-16T23:44:31+00:00</updated>
<author>
<name>luukvbaal</name>
<email>luukvbaal@gmail.com</email>
</author>
<published>2024-02-16T23:44:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5fd1bac65ed07310eda5fd976b651cc493002849'/>
<id>5fd1bac65ed07310eda5fd976b651cc493002849</id>
<content type='text'>
Problem:  nvim_eval_statusline() uses "stl" from 'fillchars' with "use_statuscol_lnum".
Solution: Reorder "fillchar" else chain.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  nvim_eval_statusline() uses "stl" from 'fillchars' with "use_statuscol_lnum".
Solution: Reorder "fillchar" else chain.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(tests): get channel id via nvim_get_chan_info #27441</title>
<updated>2024-02-12T13:50:39+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2024-02-12T13:50:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0185152802d4a84258a9a04c1d86a7e27d37d721'/>
<id>0185152802d4a84258a9a04c1d86a7e27d37d721</id>
<content type='text'>
Minor "best practices" nudge.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Minor "best practices" nudge.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(api): pass 0 to nvim_get_chan_info for current channel (#27321)</title>
<updated>2024-02-08T10:59:31+00:00</updated>
<author>
<name>nikolightsaber</name>
<email>103886134+nikolightsaber@users.noreply.github.com</email>
</author>
<published>2024-02-08T10:59:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b162adbb7ca4f980e938a4a06a49218a9ed496cf'/>
<id>b162adbb7ca4f980e938a4a06a49218a9ed496cf</id>
<content type='text'>
Getting current channel info was kind of annoying via RPC. Two
functions had to be called:
1. `nvim_get_api_info` which returns `[channel_id, meta_data]`.
  - This results in `channel_id = api.nvim_get_api_info()[0]`.
  - Here the meta_data is sent but never used.
2. Finally call `nvim_get_chan_info(channel_id)`.

This commit reduces the need for `nvim_get_api_info` as passing 0
returns current channel info.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Getting current channel info was kind of annoying via RPC. Two
functions had to be called:
1. `nvim_get_api_info` which returns `[channel_id, meta_data]`.
  - This results in `channel_id = api.nvim_get_api_info()[0]`.
  - Here the meta_data is sent but never used.
2. Finally call `nvim_get_chan_info(channel_id)`.

This commit reduces the need for `nvim_get_api_info` as passing 0
returns current channel info.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(event-loop): process input before events (#27358)</title>
<updated>2024-02-07T04:11:22+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2024-02-07T04:11:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6725565258930ba430cfb925fd1671596a8a4342'/>
<id>6725565258930ba430cfb925fd1671596a8a4342</id>
<content type='text'>
Problem:
When nvim_input is followed immediately by non-fast events on RPC, both
events and input are available after the polling done by the os_inchar()
in state_enter(), but state_enter() then chooses to process events even
if input is available, which is inconsistent with state_handle_k_event()
that stops processing events once input is available.

Solution:
Also check for available input after the os_inchar() in state_enter().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
When nvim_input is followed immediately by non-fast events on RPC, both
events and input are available after the polling done by the os_inchar()
in state_enter(), but state_enter() then chooses to process events even
if input is available, which is inconsistent with state_handle_k_event()
that stops processing events once input is available.

Solution:
Also check for available input after the os_inchar() in state_enter().</pre>
</div>
</content>
</entry>
<entry>
<title>feat(api): make nvim_open_win support non-floating windows (#25550)</title>
<updated>2024-02-01T03:43:35+00:00</updated>
<author>
<name>Will Hopkins</name>
<email>willothyh@gmail.com</email>
</author>
<published>2024-02-01T03:43:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6bba4becedaea5a330c0c9d9427fb495e8092dac'/>
<id>6bba4becedaea5a330c0c9d9427fb495e8092dac</id>
<content type='text'>
Adds support to `nvim_open_win` and `nvim_win_set_config` for creating
and manipulating split (non-floating) windows.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds support to `nvim_open_win` and `nvim_win_set_config` for creating
and manipulating split (non-floating) windows.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(api): add nvim_tabpage_set_win (#27222)</title>
<updated>2024-01-29T07:18:33+00:00</updated>
<author>
<name>Will Hopkins</name>
<email>willothyh@gmail.com</email>
</author>
<published>2024-01-29T07:18:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ca9f6f56949d66f0f6467fa64b215f861fe0a3bf'/>
<id>ca9f6f56949d66f0f6467fa64b215f861fe0a3bf</id>
<content type='text'>
Allows setting the current window of a non-current tabpage
without switching tabpages.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allows setting the current window of a non-current tabpage
without switching tabpages.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(extmarks): subpriorities (relative to declaration order) (#27131)</title>
<updated>2024-01-29T03:13:58+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2024-01-29T03:13:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=15e77a56b711102fdc123e15b3f37d49bc0b1df1'/>
<id>15e77a56b711102fdc123e15b3f37d49bc0b1df1</id>
<content type='text'>
The "priority" field of extmarks can be used to set priorities of
extmarks which dictates which highlight group a range will actually have
when there are multiple extmarks applied. However, when multiple
extmarks have the same priority, the only way to enforce an actual
priority is through the order in which the extmarks are set.

It is not always possible or desirable to set extmarks in a specific
order, however, so we add a new "subpriority" field that explicitly
enforces the ordering of extmarks that have the same priority.

For now this will be used only to enforce priority of treesitter
highlights. A single node in a treesitter tree may match multiple
captures, in which case that node will have multiple extmarks set. The
order in which captures are returned from the treesitter API is not
_necessarily_ in the same order they are defined in a query file, so we
use the new subpriority field to force that ordering.

For now subpriorites are not documented and are not meant to be used by
external code, and it only applies to ephemeral extmarks. We indicate
the "private" nature of subpriorities by prefixing the field name with
an "_".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "priority" field of extmarks can be used to set priorities of
extmarks which dictates which highlight group a range will actually have
when there are multiple extmarks applied. However, when multiple
extmarks have the same priority, the only way to enforce an actual
priority is through the order in which the extmarks are set.

It is not always possible or desirable to set extmarks in a specific
order, however, so we add a new "subpriority" field that explicitly
enforces the ordering of extmarks that have the same priority.

For now this will be used only to enforce priority of treesitter
highlights. A single node in a treesitter tree may match multiple
captures, in which case that node will have multiple extmarks set. The
order in which captures are returned from the treesitter API is not
_necessarily_ in the same order they are defined in a query file, so we
use the new subpriority field to force that ordering.

For now subpriorites are not documented and are not meant to be used by
external code, and it only applies to ephemeral extmarks. We indicate
the "private" nature of subpriorities by prefixing the field name with
an "_".</pre>
</div>
</content>
</entry>
<entry>
<title>test: more tests for nvim_tabpage_get_win (#27248)</title>
<updated>2024-01-29T00:32:24+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2024-01-29T00:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b0e85010fe8128a73d6aeae1af3a308d3791140f'/>
<id>b0e85010fe8128a73d6aeae1af3a308d3791140f</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:9.1.0047: issues with temp curwin/buf while cmdwin is open</title>
<updated>2024-01-28T12:29:26+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2023-07-27T00:38:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=cf140fb25b94c556396fe942a4af3e8db9effa37'/>
<id>cf140fb25b94c556396fe942a4af3e8db9effa37</id>
<content type='text'>
Problem:  Things that temporarily change/restore curwin/buf (e.g:
          win_execute, some autocmds) may break assumptions that
          curwin/buf is the cmdwin when "cmdwin_type != 0", causing
          issues.

Solution: Expose the cmdwin's real win/buf and check that instead. Also
          try to ensure these variables are NULL if "cmdwin_type == 0",
          allowing them to be used directly in most cases without
          checking cmdwin_type. (Sean Dewar)

Reset and save `cmdwin_old_curwin` in a similar fashion.
Apply suitable changes for API functions and add Lua tests.

https://github.com/vim/vim/commit/988f74311c26ea9917e84fbae608de226dba7e5f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  Things that temporarily change/restore curwin/buf (e.g:
          win_execute, some autocmds) may break assumptions that
          curwin/buf is the cmdwin when "cmdwin_type != 0", causing
          issues.

Solution: Expose the cmdwin's real win/buf and check that instead. Also
          try to ensure these variables are NULL if "cmdwin_type == 0",
          allowing them to be used directly in most cases without
          checking cmdwin_type. (Sean Dewar)

Reset and save `cmdwin_old_curwin` in a similar fashion.
Apply suitable changes for API functions and add Lua tests.

https://github.com/vim/vim/commit/988f74311c26ea9917e84fbae608de226dba7e5f
</pre>
</div>
</content>
</entry>
</feed>
